git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1234 e016b1c5-ed68-44aa-a2f7-31cac88cffde
12 lines
294 B
Batchfile
12 lines
294 B
Batchfile
@echo off
|
|
|
|
echo Adding AssaultCube Server to the Service Control Manager DB..
|
|
echo .
|
|
|
|
set path="%CD%\ac_server.exe -s -c4"
|
|
set util=%windir%\system32\sc.exe
|
|
|
|
%util% create assaultcubeserver binPath= %path% DisplayName= "AssaultCube Server"
|
|
%util% config assaultcubeserver binPath= %path%
|
|
|
|
pause |