Thursday, February 5, 2009

Task Kill w/ Batch file

In Windows XP there is a way to automate this using a relatively unknown command called “taskkill”.

Here’s an example of how to use it:

taskkill /im keyclone.exe /f

I chose to use an Adobe Acrobat file in my example but it could be the name of any process that’s currently running.

/im is the image name, which is basically just telling taskkill that you’re about to kill a process by name and what follows is the name of that process.

/f tell is to force the program closed. Don’t ask about it, don’t think about it, close it.

Special thanks to: Danstechnstuff.com

No comments:

Post a Comment