Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 1 trả lời
  • 1 gặp vấn đề này
  • 4 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Tất cả các câu trả lời (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