中国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-07 15:38
48,041 topics / 350,128 posts / today 3 new / 48,252 members
DOS批处理 & 脚本技术(批处理室) » Seeking: How to write a batch program to execute after a delay at boot!~~
Printable Version  1,451 / 7
Floor1 dxjojo Posted 2008-02-25 18:04
新手上路 Posts 5 Credits 12
I am a technical novice, coming here with a learning attitude. I have also searched for good posts about delays, but still don't understand very well. Really helpless. Please help solve it, thank you in advance `~~~

[ Last edited by dxjojo on 2008-2-25 at 06:08 PM ]
Floor2 dxjojo Posted 2008-02-25 18:40
新手上路 Posts 5 Credits 12
Floor3 jiulong Posted 2008-02-25 18:42
中级用户 Posts 183 Credits 396
echo wscript.sleep(10000)>%tmp%run.vbe
start /wait %tmp%run.vbe
1000=1 second
Floor4 jiulong Posted 2008-02-25 18:43
中级用户 Posts 183 Credits 396
Using the PING command has a window
Floor5 dxjojo Posted 2008-02-25 19:26
新手上路 Posts 5 Credits 12
Thanks, tried it but still didn't work, it seems only the first time was effective
Floor6 dxjojo Posted 2008-02-25 19:51
新手上路 Posts 5 Credits 12
I don't know what's not written right, the executable file has been changed,,,,,
Floor7 abcd Posted 2008-02-25 19:58
银牌会员 Posts 739 Credits 1,436
::Here add self-hiding code
echo wscript.sleep 10000>"%temp%\run.vbs"
cscript "%temp%\run.vbs" //nologo
del /q "%temp%\run.vbs"
::Add your own code below
Floor8 dxjojo Posted 2008-02-26 14:51
新手上路 Posts 5 Credits 12
It's okay, thank you very much.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023