if the filename extension of your file is not .bat

Change your file name by adding .bat at the end