@echo off "E:\Program Files\Tencent\qq\CoralQQ.exe" taskkill /im cmd.exe@cmdow @ /hid ::when open two qq.exe,in case another cmd.exe is openedtaskkill /im cmd.exe /t ::record the log of this time to 1.txtcopy nul "H:\xboy\定时关闭进程\1.txt"date /t >> "H:\xboy\定时关闭进程\1.txt"echo. >> "H:\xboy\定时关闭进程\1.txt" ::generate the time file::syntax is: "c:\s.vbs <seconds>"copy nul c:\s.vbsecho t = wscript.arguments.item(0) >> c:\s.vbsecho wscript.sleep(t+"000") >> c:\s.vbs ::main program:STARTcall c:\s.vbs 180for /l %%i in (1,1,10) do call c:\s.vbs 10 | for /l %%c in (1,1,5) do taskkill /IM qq.exe /T >> "H:\xboy\定时关闭进程\1.txt" && time /t >> "H:\xboy\定时关闭进程\1.txt"taskkill /im qqgame.exe /tgoto START

评论