2015-08-26 04:58:51 -04:00
|
|
|
rem Alter this if you need to install multiple instances.
|
|
|
|
@echo off
|
|
|
|
set SERVICENAME="Cuberite"
|
|
|
|
|
|
|
|
set CURRENTDIR=%CD%
|
2020-07-22 19:12:16 -04:00
|
|
|
sc create %SERVICENAME% binPath= "%CURRENTDIR%\Cuberite.exe -d" start= auto DisplayName= "@%CURRENTDIR%\Cuberite.exe,-1"
|
|
|
|
sc description %SERVICENAME% "@%CURRENTDIR%\Cuberite.exe,-2"
|