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-06-20 20:16
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Are there any more clever techniques for batch processing delays? DigestI View 32,803 Replies 71
Floor 61 Posted 2008-05-19 09:17 ·  中国 河南 开封 联通
新手上路
Credits 4
Posts 2
Joined 2008-05-19 08:51
18-year member
UID 119064
Gender Male
Status Offline
Using tools is more convenient
Floor 62 Posted 2008-05-19 13:25 ·  中国 重庆 电信
新手上路
Credits 10
Posts 4
Joined 2008-05-06 14:24
18-year member
UID 117892
Gender Male
Status Offline
Hehe, I suggest you search for "delay" as there have been many discussions about it before
大家好!我是乄①星の鈊噫~_~
Floor 63 Posted 2008-08-25 10:24 ·  中国 四川 眉山 电信
新手上路
Credits 2
Posts 1
Joined 2006-07-26 13:44
19-year member
UID 59284
Gender Male
Status Offline
This delay function is just what is needed, great!
Floor 64 Posted 2008-09-28 15:52 ·  中国 新疆 乌鲁木齐 电信
初级用户
Credits 37
Posts 20
Joined 2006-03-31 15:10
20-year member
UID 53103
Status Offline
This delay function is really great
Floor 65 Posted 2008-10-07 15:10 ·  中国 四川 成都 电信
新手上路
Credits 12
Posts 6
Joined 2008-10-07 14:22
17-year member
UID 127653
Gender Male
Status Offline
Newcomers haven't yet figured out what the uses of delays are.
Floor 66 Posted 2008-10-07 19:57 ·  中国 浙江 绍兴 电信
新手上路
Credits 2
Posts 1
Joined 2008-10-07 12:45
17-year member
UID 127644
Gender Male
Status Offline
Thanks to the upstairs for the selfless sharing
Floor 67 Posted 2008-10-25 14:43 ·  中国 吉林 长春 电信
新手上路
Credits 1
Posts 1
Joined 2008-10-25 14:15
17-year member
UID 129109
Gender Male
Status Offline
Thanks. Good stuff.
Floor 68 Posted 2008-10-27 16:34 ·  中国 甘肃 酒泉 电信
新手上路
Credits 16
Posts 10
Joined 2008-10-16 10:29
17-year member
UID 128514
Gender Male
Status Offline
I use the WScript sleep command to implement script execution suspension within a specified time (ms) and then continue running.

The following is the batch text to delay for 5 seconds,

echo WScript.sleep 5000>>x.vbs
call x.vbs
del x.vbs
Floor 69 Posted 2008-10-27 16:35 ·  中国 甘肃 酒泉 电信
新手上路
Credits 16
Posts 10
Joined 2008-10-16 10:29
17-year member
UID 128514
Gender Male
Status Offline
I use the WScript sleep command to make the script execution hang for a specified time (ms) and then continue running.

The following is a batch text to delay for 5 seconds,

echo WScript.sleep 5000>>x.vbs
call x.vbs
del x.vbs
Floor 70 Posted 2008-11-06 20:05 ·  中国 山东 联通
社区乞丐
Credits -22
Posts 8
Joined 2008-10-29 22:05
17-year member
UID 129502
Gender Male
Status Offline
Everyone is a DOS expert. I won't lose either
Floor 71 Posted 2008-11-06 20:09 ·  中国 山东 联通
社区乞丐
Credits -22
Posts 8
Joined 2008-10-29 22:05
17-year member
UID 129502
Gender Male
Status Offline
echo WScript.sleep 1000>1.vbs & call 1.vbs & del 1.vbs
Delay for 1 second
Floor 72 Posted 2008-11-13 19:26 ·  中国 河南 开封 联通
新手上路
Credits 2
Posts 2
Joined 2008-11-13 18:46
17-year member
UID 130876
Gender Male
Status Offline
This is great.
Support
‹ Prev 1 3 4 5
Forum Jump: