2015-03-31 09:50:03 -04:00
|
|
|
rem Alter this if you need to install multiple instances.
|
|
|
|
@echo off
|
|
|
|
set SERVICENAME="MCServer"
|
|
|
|
|
|
|
|
set CURRENTDIR=%CD%
|
2015-06-01 09:41:06 -04:00
|
|
|
sc create %SERVICENAME% binPath= "%CURRENTDIR%\MCServer.exe -d" start= auto DisplayName= %SERVICENAME%
|
2015-03-31 09:50:03 -04:00
|
|
|
sc description %SERVICENAME% "Minecraft server instance"
|