Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

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

  • 1 odgovor
  • 1 ima ovaj problem
  • 4 prikaza
  • Posljednji odgovor od 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?

Svi odgovori (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