Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set cmd="wmic process where (ParentProcessId=4192) get ProcessId"
- FOR /F %%i IN (' %cmd% ') DO (
- SET X=%%i
- echo The process is %X%
- )
- ProcessID
- 3516
- <blank space>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement