Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

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

  • 1 antwoord
  • 1 heeft dit probleem
  • 4 weergaven
  • Laatste antwoord van 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?

Alle antwoorden (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