Debugging Tools for Windows

Kill Tool Examples

The following examples demonstrate the use of the Kill tool.

Terminate by name

The following command terminates processes whose names begin with "myapp."

kill myapp*

Terminate by PID

The following command terminates the process whose process ID (PID) is 2520:

kill 2520

Terminate forcibly

The following command terminates processes whose names begin with "my*." It does not prompt for confirmation. This command succeeds even when this process is a system service:

kill /f my*

Build machine: CAPEBUILD