вот нашел что нужно писать в батник
Код
@echo off
cls
echo Running Server...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title Server CSS
echo WARNING: If server was closed or crashed, then restarted!
:srcds
echo (%date% %time%) Server started sucsessful.
start /wait C:\путь к hlds -console -game cstrike -port 27015 +fps_max 1000 +maxplayers 24 +map cs_assault
goto srcds
exit