Just change the .txt to .bat
Ensure that in windows folder options you have unchecked hide file extentions of known file types, that way you are not just adding .bat to the end of the prefix.