Comments/サーバーの立て方 のバックアップ(No.1)
set watch=DayZ Server title %watch% Watchdog cd "D:\Program Files (x86)\Steam\steamapps\common\DayZServer" :watchdog set /p anser="(%time%) %watch% closed or crashed, restarting. (Y/N)" if /i {%ANSWER%}=={y} (goto :yes) exit /b :yes echo (%time%) %watch% restarting. |