Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I save exe files by default?

  • 6 replies
  • 1 has this problem
  • 61 views
  • Last reply by 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!

Chosen solution

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"
     ]
   }
Read this answer in context 👍 0

All Replies (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

Chosen Solution

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