China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

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!

中国DOS联盟论坛
The time now is 2026-08-07 21:19
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] [NT] Using PSKILL to kill a process View 956 Replies 4
Original Poster Posted 2008-03-05 18:18 ·  中国 浙江 杭州 电信
初级用户
Credits 20
Posts 9
Joined 2008-02-24 14:56
18-year member
UID 111322
Gender Male
Status Offline
How do I use PSKILL to kill the SMSS.EXE process
This SMSS.EXE is not the system one; it is initialized by CURRENT USER.
Give me a batch file...
Floor 2 Posted 2008-03-05 19:00 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
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
第一高手 第二高手

Floor 3 Posted 2008-03-05 20:17 ·  中国 北京 联通
银牌会员
★★★
Credits 1,287
Posts 634
Joined 2007-05-02 15:06
19-year member
UID 87277
Gender Male
From cmd.exe
Status Offline
Floor 4 Posted 2008-03-16 18:56 ·  中国 浙江 杭州 电信
初级用户
Credits 20
Posts 9
Joined 2008-02-24 14:56
18-year member
UID 111322
Gender Male
Status Offline
I don't understand VBS
Floor 5 Posted 2008-03-19 16:23 ·  中国 黑龙江 大庆 联通
高级用户
★★
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
Forum Jump: