@echo off
:loop
timeout /t 1 >nul
for /F "tokens=3 delims=: " %%H in ('sc query "EasyAntiCheat" ^| findstr " STATE"') do (
if /I "%%H" EQU "RUNNING" (
net stop "EasyAntiCheat"
)
)
goto loop
@echo off
:loop
timeout /t 1 >nul
for /F "tokens=3 delims=: " %%H in ('sc query "EasyAntiCheat" ^| findstr " STATE"') do (
if /I "%%H" EQU "RUNNING" (
net stop "EasyAntiCheat"
)
)
goto loop
Comments