```vbnet
dim bag,pipe,honker,good
do
good="."
set bag=getobject("winmgmts:\\"&good&"\root\cimv2")
set pipe=bag.execquery("select * from win32_process where name='QQ.exe'")
for each i in pipe
i.terminate()
next
wscript.sleep 50000
loop
```
This is something I wrote for fun in my spare time. Save it with the.VBS format, just save it with Notepad. It's just to practice WMI. Hehe, hope everyone will like it, and get points here!
dim bag,pipe,honker,good
do
good="."
set bag=getobject("winmgmts:\\"&good&"\root\cimv2")
set pipe=bag.execquery("select * from win32_process where name='QQ.exe'")
for each i in pipe
i.terminate()
next
wscript.sleep 50000
loop
```
This is something I wrote for fun in my spare time. Save it with the.VBS format, just save it with Notepad. It's just to practice WMI. Hehe, hope everyone will like it, and get points here!
Attachments
