The PID is there mostly for the sake of the CPU. You can use it to kill specific programs without affecting other programs. The utility you would use for that is, you guessed it, "taskkill". Here's a clip of "tasklist" when an instance of "calc.exe" running (that's your calculator).
Notice that "calc.exe" has a PID of 6492.
Now let's say that my calculator has crashed and I want to close it. Since I'm at the command prompt already, I just type in "taskkill /PID 6492 /F" and that kills the process with that particular PID.
Notice that "calc.exe" has a PID of 6492.
Now let's say that my calculator has crashed and I want to close it. Since I'm at the command prompt already, I just type in "taskkill /PID 6492 /F" and that kills the process with that particular PID.
Comments
You can follow this conversation by subscribing to the comment feed for this post.