To kill a process in the command prompt we need to know either its Image Name or Process ID. One way to find this is in the Windows Task Manager. The other way is to use the Tasklist command in the command prompt.
Command to kill a process in Windows XP Pro:
taskkill [/pid processID
/pid processID Specifies the process ID of the process to be terminated.
/im
Use the wildcard character (*) to specify all image names.
/f Specifies that processes be forcefully terminated.
/t Terminates the specified process and any child processes started by it.
Example: taskkill /im notepad.exe
Command to kill a process in Windows XP Home Edition: Windows XP Home Edition users can use the tskill command as follows: tskill {processID
Example: tskill notepad
No comments:
Post a Comment