Advertisement
Guest User

Untitled

a guest
May 1st, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. set cmd="wmic process where (ParentProcessId=4192) get ProcessId"
  2. FOR /F %%i IN (' %cmd% ') DO (
  3. SET X=%%i
  4. echo The process is %X%
  5. )
  6.  
  7. ProcessID
  8. 3516
  9. <blank space>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement