gmzorz

eac service stop loop

Feb 24th, 2019
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.21 KB | None | 0 0
  1. @echo off
  2. :loop
  3. timeout /t 1 >nul
  4. for /F "tokens=3 delims=: " %%H in ('sc query "EasyAntiCheat" ^| findstr "        STATE"') do (
  5.   if /I "%%H" EQU "RUNNING" (
  6.    net stop "EasyAntiCheat"
  7.    
  8.   )
  9. )
  10. goto loop
Advertisement
Add Comment
Please, Sign In to add comment