How do I save exe files by default?
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" ] }Read this answer in context 👍 0
All Replies (6)
Hello, I think Mozilla disabled the automatic launch of .EXE files due to security reasons.
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?
Using Command Prompt
- Open Command Prompt by typing "cmd" or "command" in RUN dialog box.
- Now provide following command:
assoc .exe=exefile
Dinushi Dhananjani said
Using Command Prompt
- Open Command Prompt by typing "cmd" or "command" in RUN dialog box.
assoc .exe=exefile
- Now provide following command:
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.
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.
الحل المُختار
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" ] }