What mime type do I use to allow users to download .bat from IIS?

14,466

If you want the file to be open in a text editor you could use text/plain otherwise you could use application/bat or application/x-bat, etc

Share:
14,466
Exitos
Author by

Exitos

Updated on June 04, 2022

Comments

  • Exitos
    Exitos about 2 years

    Im trying to allow someone to download a .bat file so when they go to the url rather than it display as text on the page they are prompted to download but I cant figure out what mime type it is...

    Ive looked in this list:

    List of iis mime types

    Cheers