Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More
Solved Echekwara

How to set dynamic download location?

the-edmeister replied
pratikatpc

I need to set default download location as x:\downloads\2012_07 if the current month is July, and x:\downloads\2012_08 if the current month is Aug but not manually ,it should be Automatically, Hence what can I do with prefs.js (i.e) user_pref("browser.download.dir",?) Your help will be highly appreciated.

I need to set default download location as x:\downloads\2012_07 if the current month is July, and x:\downloads\2012_08 if the current month is Aug but not manually ,it should be Automatically, Hence what can I do with prefs.js (i.e) user_pref("browser.download.dir",?) Your help will be highly appreciated.

All Replies (3)

Asịsa Ahọpụtara

prefs.js alone can't do what you want. You would need an addon that had those "date" features to actively change that pref based upon the Windows calendar. Give this addon a try and see how it works for you - don't use it myself.

https://addons.mozilla.org/en-US/firefox/addon/automatic-save-folder/

thank you. the add-on suggested by you solve my problem. again I am thanking you heartily.

You're welcome!