Advertisement
hiro1357

kill.bat

Apr 27th, 2015
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.23 KB | None | 0 0
  1. @echo off
  2. if {%1} equ {} (
  3. echo usage: kill [-f] PID
  4. ) else if {%1} equ {-f} (
  5. taskkill /f %2 %3 %4 %5 %6 %7 %8 %9
  6. ) else if {%1} equ {-9} (
  7. taskkill /f %2 %3 %4 %5 %6 %7 %8 %9
  8. ) else (
  9. taskkill %1 %2 %3 %4 %5 %6 %7 %8 %9
  10. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement