How to make a bat executable
Updated: 04/30/2020 by Computer Hope

Users running earlier versions of MS-DOS and Windows can use the bat2exe.com utility, a program that converts your batch files into a .com file.
Once the file is downloaded, move the file into the same directory as your batch file and type the following command.
bat2exe myfile.bat