minecraft server batch file code example
Example 1: minecraft server startup code
java -Xmx1024M -Xms1024M -jar SERVER_FILE_NAME.jar nogui
Example 2: minecraft server start batch script
"C:\Program Files\Java\jre1.8.0_291\bin\java.exe" -Xmx1024M -Xms512M -jar spigot-1.12.2.jar
PAUSE