Sometimes you want to attach .exe file with your email. But in practically, you can’t attach an executable file like a normal file. There you got some error message. So to overcome this issue, follow the below steps.
Step 1: Firstly go to Folder option and select View tab. After that, navigate Hide extension for known file types and Clear the tick . Then Apply and Click OK.
Image: Folder options .
Step 2: Now rename the file without an exe extension (setup.exe rename as setup). Then compress it by using any compression utility software.
After these steps you can attach your executable file without any problems.