搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How do I save exe files by default?

  • 6 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Alexandra

more options

When I download an exe file, it shows a pop-up asking me if I want to save it.

I want to set it to automatically save them by default.

How do I do that, please?

Thank you!

When I download an exe file, it shows a pop-up asking me if I want to save it. I want to set it to automatically save them by default. How do I do that, please? Thank you!

被選擇的解決方法

Dinushi Dhananjani said

Thank you for your feedback [[Knowledge Base Article|https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file]] I think this will be helpful to solve your problem.

Thank you!

This helped me find the file I needed to edit to get what I wanted.

For anyone finding this thread in future, you need to add the following object to the mimetypes section:

   "application/x-msdos-program": {
     "action": 0,
     "ask": false,
     "extensions": [
       "exe"
     ]
   }
從原來的回覆中察看解決方案 👍 0

所有回覆 (6)

more options

Hello, I think Mozilla disabled the automatic launch of .EXE files due to security reasons.

more options

Ruba said

Hello, I think Mozilla disabled the automatic launch of .EXE files due to security reasons.

Thank you for your reply!

I don't care about launching them, I just want to save them automatically.

Is there something in about:config I can change to re-enable it, then?

more options

Using Command Prompt

  1. Open Command Prompt by typing "cmd" or "command" in RUN dialog box.
  1. Now provide following command:

assoc .exe=exefile

more options

Dinushi Dhananjani said

Using Command Prompt
  1. Open Command Prompt by typing "cmd" or "command" in RUN dialog box.
  1. Now provide following command:
assoc .exe=exefile

Thank you for trying to help, but this is unrelated to the question I'm asking.

My Windows associations are fine, I just want Firefox to automatically save the files instead of prompting every time.

more options

Thank you for your feedback [[Knowledge Base Article|https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file]] I think this will be helpful to solve your problem.

more options

選擇的解決方法

Dinushi Dhananjani said

Thank you for your feedback [[Knowledge Base Article|https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file]] I think this will be helpful to solve your problem.

Thank you!

This helped me find the file I needed to edit to get what I wanted.

For anyone finding this thread in future, you need to add the following object to the mimetypes section:

   "application/x-msdos-program": {
     "action": 0,
     "ask": false,
     "extensions": [
       "exe"
     ]
   }