X
Tap here to go to the mobile version of the site.

Support Forum

How do I save exe files by default?

Posted

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
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

More Information

Ruba 13 solutions 66 answers

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

Hello, I think Mozilla disabled the automatic launch of .EXE files due to security reasons.
Was this helpful to you? 0
Quote

Question owner

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?

''Ruba [[#answer-1262524|said]]'' <blockquote> Hello, I think Mozilla disabled the automatic launch of .EXE files due to security reasons. </blockquote> 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?
Was this helpful to you?
Quote
Dinushi Dhananjani
  • Top 25 Contributor
4 solutions 203 answers

Using Command Prompt

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

assoc .exe=exefile

Using Command Prompt # Open Command Prompt by typing "''cmd"'' or "command" in RUN dialog box. # Now provide following command: assoc .exe=exefile
Was this helpful to you? 0
Quote

Helpful Reply

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.

''Dinushi Dhananjani [[#answer-1262535|said]]'' <blockquote> Using Command Prompt # Open Command Prompt by typing "''cmd"'' or "command" in RUN dialog box. # Now provide following command: assoc .exe=exefile </blockquote> 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.
Was this helpful to you? 1
Quote
Dinushi Dhananjani
  • Top 25 Contributor
4 solutions 203 answers

Helpful Reply

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 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.
Was this helpful to you? 1
Quote

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"
     ]
   }
''Dinushi Dhananjani [[#answer-1262716|said]]'' <blockquote> 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. </blockquote> 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" ] }
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.