Advertisement
David-P

Untitled

Jun 13th, 2021
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.35 KB | None | 0 0
  1. C:\WINDOWS\system32>
  2. C:\WINDOWS\system32>For /F Delims^=^" %G In ('%SystemRoot%\System32\schtasks.exe /Query /FO CSV /NH 2^>NUL ^| %SystemRoot%\System32\find.exe /I "UPDATE"') Do @For /F Tokens^=2^ Delims^=^" %H In ('%SystemRoot%\System32\schtasks.exe /ShowSid /TN "%G" 2^>NUL ^| %SystemRoot%\System32\find.exe "SUCCESS:"') Do @Echo(%G:%H
  3.  
  4. C:\WINDOWS\system32>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement