Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

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 do I set the default download folder, while also retaining the ability to change the folder each download?

  • 5 trả lời
  • 2 gặp vấn đề này
  • 4 lượt xem
  • Trả lời mới nhất được viết bởi gsfc12

more options

I have a downloads folder on a different drive than the Windows C drive, and most of the time I just want to download files to that folder. But often enough I need to send a download somewhere else.

But, when the "Always ask you where to save files" setting is chosen, the folder given in the "Save files to" setting is ignored. On every single site, the first download defaults to the downloads folder for my account on the C drive, and I have to change it to the other drive.

Is there any way to customize this? I just want Firefox to use the downloads folder on my other drive as the default, and still have the choice to choose another destination.

I have a downloads folder on a different drive than the Windows C drive, and most of the time I just want to download files to that folder. But often enough I need to send a download somewhere else. But, when the "Always ask you where to save files" setting is chosen, the folder given in the "Save files to" setting is ignored. On every single site, the first download defaults to the downloads folder for my account on the C drive, and I have to change it to the other drive. Is there any way to customize this? I just want Firefox to use the downloads folder on my other drive as the default, and still have the choice to choose another destination.

Tất cả các câu trả lời (5)

more options

I'm pretty interested if it is possible some way. I tried to change the default download path in prefs.js, in the registry (getadmx.com/HKLM/Software/Policies/Mozilla/Firefox), even if I change the windows default downloads folder location in the explorer, non of them work if the prompt for download location is set. It always starts in the username/Downloads folder.

more options

I think that you probably will have to lock the browser.download.lastDir pref using an autoconfig.cfg file to prevent Firefox from changing the pref to the last used path.

// first line is a comment line
lockPref("browser.download.lastDir", "<file-path>");

Note that on Windows you need to escape '\' as '\\' as you can see if you inspect the current value in prefs.js (about:config shows the actual path).

more options

Does not work for me. On the about:config page I can see my new location under browser.download.lastDir, and it is locked, but download window still pops up in the default download folder.

Same if I set any download parameters as group policy in the registry. It is set, locked, but download window pops up in the default download folder.

Được chỉnh sửa bởi gsfc12 vào

more options

Did you trey to lock the default download folder as well (browser.download.dir) ?

more options

Yes, I did. As soon as I set the browser.download.panel.shown to true, it's just not gonna use the folder I set.