Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 5,493 Posts 2,315 Joined 2006-05-01 10:41 20-year member UID 54766 Gender Male From 上海
Status Offline
Does it have to be PSKILL?
On NT / win2000 use vbs to kill it
Set objWMI = Getobject("Winmgmts:")
Set Process=objWMI.ExecQuery("Select * From Win32_Process Where Name='cmd.exe'")
For Each objProcess In Process
objProcess.Terminate
Next
Credits 547 Posts 261 Joined 2006-04-15 16:50 20-year member UID 53887
Status Offline
The ntsd command should work, check the help yourself! I don't remember it clearly either.
ntsd -c q -pn image or program name
Example:
ntsd -c q -pn notepad.exe