GL1TCH3D

Taskmanager

Oct 16th, 2011
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. @echo off
  2. set loop=top
  3. :top
  4. cls
  5. echo In a few seconds a list of processes will appear. Look for the one you want to close then type the name in.
  6. ping -n 5 localhost > nul
  7. tasklist
  8. echo Which process would you like to close?
  9. set /p process=
  10. echo Is the process a persistent process? (Meaning it opens itself when closed) Enter either Y or N.
  11. set /p persistent=
  12. if /i %persistent%==y set loop=loop
  13. :loop
  14. taskkill /im %process% /t /f > nul
  15. goto %loop%
  16.  
Advertisement
Add Comment
Please, Sign In to add comment