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-05 03:08
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Recommendation][Original] Collection of Batch Processing Delay Commands View 2,020 Replies 13
Original Poster Posted 2007-01-23 11:10 ·  中国 浙江 杭州 联通
初级用户
Credits 34
Posts 12
Joined 2007-01-16 08:07
19-year member
UID 76667
Gender Male
Status Offline
Batch Delay Command —— sleep (My Obsolete Collection)

When I first started with DOS, I made great efforts to find sleep.exe and fortunately found it. I have seen many methods for batch delays on the internet, and there are even more highlights in this forum, but few people use the sleep command (not VBS), so I had to keep it in my collection.
Recently, I saw someone recommend sleep.exe (which is in milliseconds), which aroused my interest. I had the nerve to take out my obsolete collection and hope someone can make use of it. It is in seconds, that is: sleep 10 means a delay of 10 seconds.


This post was given +1 point. Click to view details
Scorer: Score: +1 Time: 2006-11-21 02:21 PM




Attachment 1: sleep.rar (2006-11-21 02:09 PM, 13.73 K, Downloads: 350)

Haha, I also have this kind of collection. I'm really into it. There are two commands, wait.com and bk.com, in the attachment.
Among them, wait is the same as the above-mentioned sleep.exe, so no explanation is needed.
Here, I specially recommend bk.com. I feel that its function is stronger than the above.
For example: automatically press the Enter key after 5 seconds, that is: bk 5 en.
I won't say more. You can view it by running bk /? (only under DOS).

http://zhenlove.com.cn/cndos/fileup/files/dosDelay Command.rar
Floor 2 Posted 2007-01-23 23:24 ·  中国 福建 厦门 电信
初级用户
Credits 49
Posts 20
Joined 2006-04-22 11:03
20-year member
UID 54248
Status Offline
Got it, bookmarked, thanks. You mean pure DOS, right? Hehe, not sure if I misunderstood.
QQ批处理群:

群名:CMD批处理
群号:6702314
Floor 3 Posted 2007-01-24 04:56 ·  中国 浙江 宁波 北仑区 电信
初级用户
Credits 34
Posts 12
Joined 2007-01-16 08:07
19-year member
UID 76667
Gender Male
Status Offline
Yes, he he.

Make progress together ̄ ̄
Floor 4 Posted 2007-01-24 05:19 ·  中国 浙江 温州 电信
中级用户
★★
Credits 458
Posts 196
Joined 2006-10-05 12:04
19-year member
UID 64614
Status Offline
I used to download a toolkit from the forum, and there was a very useful sleepx.exe in it. The memory it occupies is also very small, around 500.
Floor 5 Posted 2007-01-25 09:32 ·  中国 山西 大同 联通
新手上路
Credits 13
Posts 7
Joined 2007-01-24 07:42
19-year member
UID 77520
Gender Male
Status Offline
Learnedongxi thanks the LZ oh
Floor 6 Posted 2007-01-25 17:22 ·  中国 广东 珠海 电信
初级用户
Credits 22
Posts 9
Joined 2007-01-14 08:34
19-year member
UID 76474
Gender Male
From 珠海
Status Offline
Whoa~~! Got a top post~!~!
Floor 7 Posted 2007-01-25 22:23 ·  中国 广东 深圳 电信
新手上路
Credits 2
Posts 1
Joined 2007-01-19 07:19
19-year member
UID 76997
Gender Male
Status Offline
Actually, you can also achieve similar functions with ping.
Floor 8 Posted 2007-02-01 01:47 ·  中国 湖南 长沙 联通
社区乞丐
★★
gaoshou
Credits -16
Posts 77
Joined 2007-01-30 09:11
19-year member
UID 78105
Gender Male
Status Offline
Why can't I download it?
:cool:
Floor 9 Posted 2007-02-04 23:16 ·  中国 福建 泉州 电信
新手上路
Credits 4
Posts 2
Joined 2007-01-23 22:15
19-year member
UID 77449
Gender Male
Status Offline
Learned a lot! Up!
Floor 10 Posted 2007-02-04 23:18 ·  中国 湖南 衡阳 电信
初级用户
Credits 24
Posts 10
Joined 2007-02-03 06:54
19-year member
UID 78499
Gender Male
Status Offline
Oh, I've only used SLEEP in UNIX scripts before. It turns out DOS can use it too. Great, just what I needed.
Floor 11 Posted 2007-02-05 02:24 ·  中国 北京 门头沟区 联通
初级用户
Credits 35
Posts 10
Joined 2007-01-29 06:10
19-year member
UID 78007
Gender Male
Status Offline
Use external commands? I think ping is also good
Floor 12 Posted 2007-03-11 10:44 ·  中国 江苏 苏州 电信
新手上路
Credits 10
Posts 5
Joined 2007-02-02 02:08
19-year member
UID 78364
Gender Male
Status Offline
High opinion from the 7th floor. I've thought about it for a long time, but I just couldn't think of using PING.
Floor 13 Posted 2007-06-14 15:21 ·  中国 广东 广州 电信
新手上路
Credits 2
Posts 1
Joined 2007-06-14 13:15
19-year member
UID 91290
Gender Male
Status Offline
Learned a lot! Up!
Floor 14 Posted 2007-06-21 12:34 ·  中国 福建 厦门 电信
初级用户
Credits 66
Posts 32
Joined 2007-01-15 12:56
19-year member
UID 76587
Gender Male
Status Offline
Forum Jump: