为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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"
     ]
   }