The PID = process ID, a numerical value.
If you open up task manager and switch to process view, go to "select columns", and add "PID (Process Identifier)" you'll then be able to figure out what to kill with taskkill.
However, each process has a unique PID - and when you run a program twice, it will have different PIDs. In fact, let's say you run winamp and then AIM, then quit both, and relaunch both. It's possible (though not likely) for AIM to have winamp's old PID and vice versa.
Anything done with PIDs will have to be done through API calls to determine the PID of the application with such-and-such name and then kill it
__________________
Eat antimatter, Posleen-boy!
|