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-12 04:07
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] How do I close a running *.exe program? View 960 Replies 5
Original Poster Posted 2010-09-02 08:39 ·  日本
初级用户
★★
Credits 64
Posts 57
Joined 2010-02-25 19:56
16-year member
UID 161189
Gender Male
Status Offline
How do I close a running *.exe program in "Ctrl +Alt+Del"?
Floor 2 Posted 2010-09-02 09:53 ·  中国 上海 联通
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
If you kill a system process, it will hang.
Floor 3 Posted 2010-09-02 10:31 ·  日本
初级用户
★★
Credits 64
Posts 57
Joined 2010-02-25 19:56
16-year member
UID 161189
Gender Male
Status Offline
Originally posted by HAT at 2010-9-2 09:53:
If you kill a system process, it will hang.


For example, closing QQ.exe or something in the system processes. It shouldn't hang.
Floor 4 Posted 2010-09-02 17:11 ·  中国 陕西 咸阳 电信
新手上路
Credits 14
Posts 14
Joined 2010-08-30 00:13
15-year member
UID 173228
Gender Male
Status Offline
Floor 5 Posted 2010-09-06 08:40 ·  日本
初级用户
★★
Credits 64
Posts 57
Joined 2010-02-25 19:56
16-year member
UID 161189
Gender Male
Status Offline
Originally posted by xinjingdos at 2010-9-2 17:11:
@echo off
taskkill /f QQ.exe



Many thanks for the guidance, I solved it with the command below!

@echo off
taskkill /f /im QQ.exe
Floor 6 Posted 2010-09-06 16:28 ·  中国 广西 桂林 电信
新手上路
Credits 11
Posts 6
Joined 2009-12-07 07:21
16-year member
UID 156051
Gender Male
Status Offline
That's it. You have to add im for it to recognize the image name.
Forum Jump: