Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- rem tasklist /fi ^"imagename eq %1^"
- for /f "tokens=2" %%i in ('tasklist ^|findstr %1') do @echo %%i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement