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-01 13:53
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » VBS script to loop and end QQ View 1,624 Replies 7
Original Poster Posted 2005-11-04 11:55 ·  中国 北京 平谷区 联通
银牌会员
★★★
DOS联盟捡破烂的
Credits 1,144
Posts 425
Joined 2005-10-20 00:00
20-year member
UID 43784
From 北京
Status Offline
```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!
Attachments
QQ.rar (269 bytes, Credits to download 1 pts, Downloads: 46)
Floor 2 Posted 2005-11-04 15:46 ·  中国 辽宁 朝阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
Try downloading and giving it a try first!
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Floor 3 Posted 2005-11-13 17:51 ·  IANA 局域网IP(Private-Use)
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
Top

Batch processing under Win32 is WSH!!!
Floor 4 Posted 2005-11-14 15:52 ·  中国 广东 广州 白云区 电信
荣誉版主
★★★
Credits 718
Posts 313
Joined 2005-09-26 00:00
20-year member
UID 42844
Gender Male
Status Offline
Excuse me, the first floor owner, how to modify so that other programs can be ended? For example, QQ Fantasy. My roommate often skips classes to play on my computer.
Floor 5 Posted 2005-11-14 16:36 ·  中国 福建 泉州 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
Reply: Reply to the person upstairs, you can change QQ.exe to the program you want to end.
QQ:366840202
http://chenall.net
Floor 6 Posted 2005-11-19 01:43 ·  中国 浙江 宁波 电信
新手上路
Credits 4
Posts 2
Joined 2005-11-19 01:41
20-year member
UID 45519
Status Offline
Ask the original poster how to disable your this script
Floor 7 Posted 2005-11-19 09:35 ·  中国 广东 广州 白云区 电信
荣誉版主
★★★
Credits 718
Posts 313
Joined 2005-09-26 00:00
20-year member
UID 42844
Gender Male
Status Offline
Use the Task Manager to end this process.
Floor 8 Posted 2005-11-19 11:22 ·  中国 浙江 宁波 电信
新手上路
Credits 4
Posts 2
Joined 2005-11-19 01:41
20-year member
UID 45519
Status Offline
Can we also compile a VBS script to decrypt it?
Forum Jump: