中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 10:05
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » Ask everyone, how to write a VBS that executes commands in a loop
Printable Version  2,275 / 6
Floor1 adslcool Posted 2010-10-20 20:10
新手上路 Posts 10 Credits 10
For example:

Start executing a1.bat.

Execute a2 and b1 after 2 hours.

Execute b2 and c1 after another 2 hours.

Execute c2 and a1 after another 2 hours.

Run in this cycle, and do not display the DOS black box.

Please give advice
Floor2 bozhou Posted 2010-10-20 22:33
初级用户 Posts 19 Credits 38
abc.vbs
Floor3 Vampire Posted 2010-10-21 14:03
初级用户 Posts 78 Credits 176
Same as above
Floor4 adslcool Posted 2010-10-21 16:41
新手上路 Posts 10 Credits 10
The boss is not working, the script directly shows an error
Floor5 adslcool Posted 2010-10-21 22:22
新手上路 Posts 10 Credits 10
Floor6 chishingchan Posted 2010-10-27 18:37
银牌会员 Posts 538 Credits 1,284
Originally posted by adslcool at 2010-10-21 04:41 PM:
Boss, it doesn't work. The script directly shows an error


Of course, there will be an error if the object is not defined!
Floor7 acaigg Posted 2010-12-27 20:55
初级用户 Posts 92 Credits 115
Learning
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023