ابحث في الدعم

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

how can I lock the downloads to the desktop via the .cfg file

  • 1 (رد واحد)
  • 1 has this problem
  • 4 views
  • آخر ردّ كتبه ideato

more options

I found a similar request on your forums, however, It dose not provide a suitable answer. Is there anyone out here that can help with the coding for the .cfg file to lock the user settings? The prior response had the requester going into options and selecting the download location and/or as with my scripting a folder gets created in the C drive but the downloads do not appear on the desktop, but in the folder.

// Lock the downloads to the Desktop lockPref("browser.download.useDownloadDir", true); lockPref("browser.download.dir", "C:\Users\Desktop"); lockPref("browser.download.downloadDir", "C:\Users\Desktop"); lockPref("browser.download.folderList", 2);

I realize that this creates the folder itself, however, is there a way to simplify and just direct it to the desktop itself?

I found a similar request on your forums, however, It dose not provide a suitable answer. Is there anyone out here that can help with the coding for the .cfg file to lock the user settings? The prior response had the requester going into options and selecting the download location and/or as with my scripting a folder gets created in the C drive but the downloads do not appear on the desktop, but in the folder. // Lock the downloads to the Desktop lockPref("browser.download.useDownloadDir", true); lockPref("browser.download.dir", "C:\Users\Desktop"); lockPref("browser.download.downloadDir", "C:\Users\Desktop"); lockPref("browser.download.folderList", 2); I realize that this creates the folder itself, however, is there a way to simplify and just direct it to the desktop itself?

All Replies (1)

more options

Hello ProgramsRus, did you create the file to load the lock file ?

http://kb.mozillazine.org/Lock_Prefs#Loading_the_lock_file

thank you