Files
assaultcube-/bin_win32/create_winservice.bat
T
driAn 4227c791b9 no message
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1234 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-08-12 16:36:59 +00:00

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