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-09 18:58
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How can I terminate QQFFO.EXE View 1,146 Replies 10
Original Poster Posted 2008-09-12 18:44 ·  中国 四川 南充 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
I don't know whether everyone has played QQ Fantasy before, qqffo.exe is its game program, and when I use taskkill /f /im qqffo.exe /t
it shows:
ERROR: The process with PID 3812 (child process of PID 2736) could not be terminated.
Reason: The system cannot find the file specified.
taskkill /f /im qqffo.exe
ERROR: The process "qqffo.exe" with PID 3812 could not be terminated.
Reason: The system cannot find the file specified.

ntsd -c q -pn qqffo.exe
Cannot debug pid 3812, Win32 error 2
"The system cannot find the file specified"
Debuggee initialization failed, Win32 error 2
"The system cannot find the file specified"
ntsd: exiting - press enter ---

What command or method can terminate a program like this?
If anyone knows, please say so, I'd be extremely grateful!
Floor 2 Posted 2008-09-12 18:52 ·  美国 惠普HP
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
Can WMIC do it?
wmic process where "name='qqffo.exe'" call terminate
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
不得不爱 +5 2008-09-12 19:54
Floor 3 Posted 2008-09-12 19:05 ·  中国 四川 南充 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
It really does work, many thanks, but this requires installing wmic. If there is some other method, that would be even better!
Floor 4 Posted 2008-09-12 19:10 ·  中国 江苏 苏州 中移铁通
银牌会员
★★★
Credits 1,608
Posts 780
Joined 2007-10-07 10:19
18-year member
UID 99089
Gender Male
Status Offline
Have you tried VBS?

It's said this game had this BUG right from the beginning, and it also seems like QQ did this to prevent cheats. I don't know whether this counts as technical stuff.

set cimv2=getobject("winmgmts:\\.\root\cimv2")
set process=cimv2.instancesof("win32_process")

for each i in process
if i.name="qqffo.exe" then call i.terminate
next


[ Last edited by huahua0919 on 2008-9-12 at 07:16 PM ]
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
不得不爱 +5 2008-09-12 19:55
Floor 5 Posted 2008-09-12 19:21 ·  中国 四川 南充 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
The VBS below can also do it:
strComputer="." 
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colProcessList=objWMIService.ExecQuery ("select * from Win32_Process where Name='qqffo.exe' ")
For Each objProcess in colProcessList
objProcess.Terminate()
Next

But isn't it a bit long?
Floor 6 Posted 2008-09-12 19:23 ·  中国 江苏 苏州 中移铁通
银牌会员
★★★
Credits 1,608
Posts 780
Joined 2007-10-07 10:19
18-year member
UID 99089
Gender Male
Status Offline
Yours and mine work on the same principle. Isn't mine a bit shorter?
Floor 7 Posted 2008-09-12 19:49 ·  中国 四川 南充 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
That bug really was done by QQ on purpose to prevent cheats.
Yours really is a bit shorter, wonder if there's an even shorter one?
Floor 8 Posted 2008-09-12 19:54 ·  中国 江苏 苏州 中移铁通
银牌会员
★★★
Credits 1,608
Posts 780
Joined 2007-10-07 10:19
18-year member
UID 99089
Gender Male
Status Offline
Not fatter. There isn't a shorter one, hehe!

set cimv2=getobject("winmgmts:\\.\root\cimv2"):set process=cimv2.instancesof("win32_process"):for each i in process:if i.name="cmd.exe" then :call i.terminate
next
Floor 9 Posted 2008-09-12 20:23 ·  中国 北京 海淀区 联通
银牌会员
★★★
Credits 2,098
Posts 566
Joined 2007-09-11 07:27
18-year member
UID 97070
Gender Male
Status Offline
Floor 10 Posted 2008-09-13 08:53 ·  中国 四川 南充 营山县 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
I don't know whether everyone has used E language before, can someone give me a way to terminate qqffo.exe with E language?
Also, the program above is case-sensitive. How can I make it not case-sensitive?
Floor 11 Posted 2008-09-13 17:14 ·  中国 北京 海淀区 联通
银牌会员
★★★
Credits 2,098
Posts 566
Joined 2007-09-11 07:27
18-year member
UID 97070
Gender Male
Status Offline
Originally posted by 不得不爱 at 2008-9-13 08:53 AM:
I don't know whether everyone has used E language before, can someone give me a way to terminate qqffo.exe with E language?
Also, the program above is case-sensitive. How can I make it not case-sensitive?

TerminateProcess("qqffo.exe")?

for each i in getobject("winmgmts:\\.\root\cimv2").instancesof("win32_process"):if lcase(i.name)="qqffo.exe" then:i.terminate:end if:next


[ Last edited by s11ss on 2008-9-13 at 05:18 PM ]
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
不得不爱 +5 2008-09-18 08:33
Forum Jump: