Monday, 18 June 2012

kill a process using name and id

Just run it like this to use the process name.
TASKKILL /F /IM "notepad.exe"
Or this to kill it based on the process ID:
TASKKILL /F /PID 1234

start->run-> c:\> TASKKILL /F /IM "notepad.exe" press enter

the task will terminate.

No comments:

Post a Comment