Managing Windows XP Programs from the Command Line: Taskkill and Tskill
Managing Windows XP Programs from the Command Line: Taskkill and Tskill: "Managing Windows XP Programs: Tskill and Taskkill"
Sometimes it is desirable to end a program or a process from the command line. The process may be hung or not responding or it may be desirable to have a script for ending it.
shut down hung or frozen programs.
taskkill /f /fi "status eq not responding"
Close down programs using more than 40 MB of memory but not Windows Explorer
taskkill /f /fi "imagename ne explorer.exe" /fi "memusage gt 40000"
to force close down several programs at once.
taskkill /f /im notepad.exe /im mspaint.exe
The complete site is a great source of command line tips.
Sometimes it is desirable to end a program or a process from the command line. The process may be hung or not responding or it may be desirable to have a script for ending it.
shut down hung or frozen programs.
taskkill /f /fi "status eq not responding"
Close down programs using more than 40 MB of memory but not Windows Explorer
taskkill /f /fi "imagename ne explorer.exe" /fi "memusage gt 40000"
to force close down several programs at once.
taskkill /f /im notepad.exe /im mspaint.exe
The complete site is a great source of command line tips.
Comments