中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 03:13
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » [Help] How do I close a running *.exe program?
Printable Version  957 / 5
Floor1 gcdj Posted 2010-09-02 08:39
初级用户 Posts 57 Credits 64
How do I close a running *.exe program in "Ctrl +Alt+Del"?
Floor2 HAT Posted 2010-09-02 09:53
版主 Posts 5,017 Credits 9,023
If you kill a system process, it will hang.
Floor3 gcdj Posted 2010-09-02 10:31
初级用户 Posts 57 Credits 64
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.
Floor4 xinjingdos Posted 2010-09-02 17:11
新手上路 Posts 14 Credits 14
Floor5 gcdj Posted 2010-09-06 08:40
初级用户 Posts 57 Credits 64
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
Floor6 lm160 Posted 2010-09-06 16:28
新手上路 Posts 6 Credits 11
That's it. You have to add im for it to recognize the image name.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023