On this page... (hide)

FOR EXAMPLE:

taskkill /f /fi "Imagename eq winword.exe"

 

Use tasklist to determine the Process ID (PID) for the process to be terminated.

 

full details on taskkill at Technet.microsoft.com

 

 

See Also

Programming.Shell
Programming.CmdPrompt

 

 

Category Taks

CommandLine Shell