Microsoft DOS tskill command
Quick links
About tskill
Availability
Syntax
Examples
Allows a user running Microsoft Windows XP home to kill a task from a MS-DOS prompt.
The tskill command is an external command that is available in the below Microsoft operating systems.
Tip: Windows XP professional or later versions of Windows should use the taskkill command.
TSKILL processid | processname [/SERVER:servername] [/ID:sessionid | /A] [/V]
| processid | Process ID for the process to be terminated. |
| processname | Process name to be terminated. |
| /SERVER:servername |
Server containing processID (default is current). /ID or /A must be specified when using processname and /SERVER |
| /ID:sessionid | End process running under the specified session. |
| /A | End process running under ALL sessions. |
| /V | Display information about actions being performed. |
tskill notepad /V
Kills the open notepad task, if open and displays a message similar to: End Process(1328)
