褪昔 褪昔
关注数: 0 粉丝数: 514 发帖数: 26,575 关注贴吧数: 26
【昔】试写了个循环关闭dnf多余进程的VBS…寻找小白鼠 ……进程代码: —————————————————————————————— Do wscript.sleep 20000 On Error Resume Next WScript.CreateObject("WScript.Shell").Run "taskkill.exe /F /IM ""TenioDL.exe"+Chr(34),0,True WScript.CreateObject("WScript.Shell").Run "taskkill.exe /F /IM ""TXPlatform.exe"+Chr(34),0,True WScript.CreateObject("WScript.Shell").Run "taskkill.exe /F /IM ""tgp_gamead.exe"+Chr(34),0,True WScript.CreateObject("WScript.Shell").Run "taskkill.exe /F /IM ""TclsQmFix.exe"+Chr(34),0,True WScript.CreateObject("WScript.Shell").Run "taskkill.exe /F /IM ""CrossProxy.exe"+Chr(34),0,True WScript.CreateObject("WScript.Shell").Run "taskkill.exe /F /IM ""TenSafe_1.exe"+Chr(34),0,True WScript.CreateObject("WScript.Shell").Run "taskkill.exe /F /IM ""TenSafe.exe"+Chr(34),0,True WScript.CreateObject("WScript.Shell").Run "taskkill.exe /F /IM ""miniQTalk.exe"+Chr(34),0,True WScript.CreateObject("WScript.Shell").Run "taskkill.exe /F /IM ""BackgroundDownloader.exe"+Chr(34),0,True WScript.CreateObject("WScript.Shell").Run "taskkill.exe /F /IM ""Tencentdl.exe"+Chr(34),0,True loop ————————————————————————————— 代码的作用是每过一段固定的时间关闭代码中提到的那些进程…… 我写的循环时间是 20S,就是第二行那个,可以改,单位是毫秒 结束的进程是 TenioDL.exe TXPlatform.exe tgp_gamead.exe TclsQmFix.exe CrossProxy.exe TenSafe_1.exe TenSafe.exe miniQTalk.exe BackgroundDownloader.exe Tencentdl.exe 有点多…… 其中CrossProxy.exe是TGP的一个进程,关了不能用TGP换装,但是直播框子实在是烦,所以…… 想用TGP换装的把这一行删掉就好了…… 复制如上代码进txt文档,改为VBS格式,然后双击就开始运行了…… 想开机启动就扔到启动项里去……不过我估计不会有人用…… 关闭,用任务管理器找到wscript.exe结束进程就行了…… 我试了有用,但是感觉用处不大,虽然结束了一些多余进程,但是这个自己也是进程…… 结果VBS还是整人最好用了,干正事总有些怪怪的…… 有没有愿意来当个小白鼠的,试试看这个怎么样
首页 1 2 下一页