how to make a startup bat for minecraft server code example
Example 1: minecraft server startup code
java -Xmx1024M -Xms1024M -jar SERVER_FILE_NAME.jar nogui
Example 2: run minecraft bat
java -jar SERVERFILENAME.jar
java -Xmx1024M -Xms1024M -jar SERVER_FILE_NAME.jar nogui
java -jar SERVERFILENAME.jar