To make a .bat all you need to do is:
1. open notepad.
2. type the code or whatever its called for the server
3. save but save the file name as whatever you want it to be called .bat (example: server.bat). wherever you saved it, there will be the batch file. to change it, right click on it and click edit. it will open it as if it were in notepad.