There are many ways to convert Windows batch script files to .exe files;
Unfortunately, most of hit methods when searching with https://www.google.co.kr/?gws_rd=ssl#newwindow=1&q=bat+to+exe
may not work or may not satisfy your quality demand;
Many of these naive implementations may let most of antivirus apps consider your result .exe file as a malware;
I tested several tools but until now, AutoIt is the best tool to convert .bat to .exe
Workflow:
- Install AutoIt from its site
- Edit an .au3 script file to call your .bat script
- See the example script below
- Or see https://github.com/suewonjp/civilizer/blob/master/tools/run/civilizer-win32.au3
- Compile it to .exe
- Using Aut2Exe.exe that comes with the installation is recommended because it can let you embed an icon file into the .exe
- https://www.autoitscript.com/autoit3/docs/intro/compiler.htm