Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set PPATH=%windir%\system32\notepad.exe
- set RUNFILE="notepad.exe"
- ::10000 - 10 second
- set SLEEP_MSEC=10000
- :LOOP
- Start "" "%PPATH%"
- ping 192.0.2.0 -n 1 -w %SLEEP_MSEC% > nul
- taskkill /F /IM %RUNFILE%
- GoTo:LOOP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement