中国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-05 02:05
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » Recommendation][Original] Collection of Batch Processing Delay Commands
Printable Version  2,019 / 13
Floor1 xiaoqiangzx Posted 2007-01-23 11:10
初级用户 Posts 12 Credits 34
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
Floor2 iaide Posted 2007-01-23 23:24
初级用户 Posts 20 Credits 49
Got it, bookmarked, thanks. You mean pure DOS, right? Hehe, not sure if I misunderstood.
Floor3 xiaoqiangzx Posted 2007-01-24 04:56
初级用户 Posts 12 Credits 34
Yes, he he.

Make progress together ̄ ̄
Floor4 zerocq Posted 2007-01-24 05:19
中级用户 Posts 196 Credits 458
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.
Floor5 408857961 Posted 2007-01-25 09:32
新手上路 Posts 7 Credits 13
Learnedongxi thanks the LZ oh
Floor6 jy1260662 Posted 2007-01-25 17:22
初级用户 Posts 9 Credits 22 From 珠海
Whoa~~! Got a top post~!~!
Floor7 gyeaonwoo Posted 2007-01-25 22:23
新手上路 Posts 1 Credits 2
Actually, you can also achieve similar functions with ping.
Floor8 hngaoshou Posted 2007-02-01 01:47
社区乞丐 Posts 77 Credits -16
Why can't I download it?
Floor9 BeckHam Posted 2007-02-04 23:16
新手上路 Posts 2 Credits 4
Learned a lot! Up!
Floor10 windows9x Posted 2007-02-04 23:18
初级用户 Posts 10 Credits 24
Oh, I've only used SLEEP in UNIX scripts before. It turns out DOS can use it too. Great, just what I needed.
Floor11 yuyi0215 Posted 2007-02-05 02:24
初级用户 Posts 10 Credits 35
Use external commands? I think ping is also good
Floor12 sd3459426 Posted 2007-03-11 10:44
新手上路 Posts 5 Credits 10
High opinion from the 7th floor. I've thought about it for a long time, but I just couldn't think of using PING.
Floor13 afei0108 Posted 2007-06-14 15:21
新手上路 Posts 1 Credits 2
Learned a lot! Up!
Floor14 superhacker Posted 2007-06-21 12:34
初级用户 Posts 32 Credits 66
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023