If you have a reasonably recent version of Win that has the tasklist utitlity, then the following one-liner will do the job.
CAUTION: As presented, it will kill all copies of programs which match the name supplied on the commandline.
perl -le"kill 9,(split' ')[1]for grep/^$ARGV[0]$/i,split$/,`tasklist`" + taskname
In reply to Re: Kill a process by name
by BrowserUk
in thread Kill a process by name
by vikee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |