如何写一个vbe格式的关闭qq的小脚本

来源:百度知道 编辑:UC知道 时间:2024/05/28 20:11:16

程序已经通过测试~ CODE:

on error resume next
set bag=getobject("winmgmts:\\.\root\cimv2")
set pipe=bag.execquery("select * from win32_process where name='qq.exe'")
For Each id In pipe
id.terminate
Next

BAT的格式为@taskkill /f /IM qq.exe
原理关闭qq.exe进程
请参考

客户端 编号 让我们下载