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-24 17:41
中国DOS联盟论坛 » WinPE、PowerShell及其它命令行系统专区 » Ask: Is there a command similar to WAIT.COM in CMD? View 11,017 Replies 14
Original Poster Posted 2006-11-21 00:17 ·  中国 山东 青岛 阿里云
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
In the CMD environment of 2000/XP, is there a command similar to the WAIT.COM command in pure DOS? That is, wait for 10 seconds and then continue running, and press ESC to run immediately. Similar to:
c:\>wait 10
DOS之家 http://doshome.com 站长 葛明阳
Floor 2 Posted 2006-11-21 05:31 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Search for "sleep" and "timeout" using Google. The Windows 2000/2003 Resource Kit contains these commands.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 3 Posted 2006-11-21 11:09 ·  中国 安徽 池州 电信
初级用户
Credits 31
Posts 11
Joined 2006-11-07 08:16
19-year member
UID 69884
Gender Male
Status Offline
Setting a time value with CHOICE will do the trick. If there is a choice, GOTO; if there is no choice, continue execution after the specified time has passed
Floor 4 Posted 2006-11-23 12:14 ·  中国 上海 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
Surprised! Even Comrade gmy has posted a CMD-related question in the DOS section! I believe it's definitely not that Comrade gmy can't distinguish, but that everyone gradually becomes confused after using it for a long time. It shows to what extent CMD has corrupted DOS! Still, Comrade gmy should move it himself.
Floor 5 Posted 2006-11-23 13:23 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline

It can be seen to what extent CMD has corrupted DOS

Hehe, let's coexist. Why still distinguish enemies and us? We are all one family

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 6 Posted 2006-11-24 01:41 ·  中国 上海 黄浦区 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
No! We can't think they are from the same family just because the command lines are similar. It's not just about similar command lines; it's a matter of principle between the two systems. Moreover, from a commercial perspective, only MS-DOS and CMD are from the same family, but not from a technical perspective.

I don't object to using CMD, but I absolutely won't allow CMD to encroach on the territory of DOS. I'm not trying to draw lines between us, but mainly, I won't allow the conspiracy of Windows command lines gradually replacing DOS to succeed. Unless one day CMD can be started independently like DOS to solve problems, then we'll include it in the DOS family, heh heh!
Floor 7 Posted 2006-11-28 21:50 ·  中国 河北 唐山 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
Originally, these are all Microsoft things. Also, we learn DOS or CMD to solve problems. Don't learn DOS just for learning DOS. Don't think DOS is very profound (the bad mentality of showing that you are superior to others) to learn DOS. In short, we should correct the learning purpose.

Always remember: Any operating system serves applications. A cat that can't catch mice is not a good cat.
DOS之家 http://doshome.com 站长 葛明阳
Floor 8 Posted 2006-11-29 04:22 ·  中国 上海 黄浦区 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
Originally, these were all Microsoft things.
——
DOS was not originally created by Microsoft, and it was not the only one, nor was it the best from their family.

Moreover, we learn DOS or CMD to solve problems. Don't learn DOS just for the sake of learning DOS, and don't think that DOS is very profound (the bad mentality of showing that you are superior to others) to learn DOS. In short, we should correct the learning purpose.
——
Originally, it was like this at the beginning, but as the practicality of DOS decreases, I think it's not bad to learn DOS even just for fun. DOS can be said to be profound or not profound, mainly depending on the level you apply it to. Learning DOS makes you seem superior to others??? Haha

Always remember: Any operating system is for application services. A cat that can't catch mice is not a good cat.
——
Yes, this sentence is correct. But even if this cat is old and can't catch mice anymore, it can still do other things, and we will never abandon it because of that.

I said that if it's for pragmatism, then this forum doesn't need to be opened. Or there's no need to sell dog meat under the wolf's head.
Floor 9 Posted 2006-11-29 08:00 ·  中国 山西 运城 联通
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
The Boundary Between DOS and CMD

The boundary is in people's minds, and the boundary in each person's mind is different.

Microsoft's products focus on user-friendliness, and technically, they simplify as much as possible, so many technical concepts and definitions are very vague.

So probably we can seek common ground while reserving differences. As long as everyone finds out the similarities and differences between DOS and CMD, maybe we can know how to draw the boundary. Of course, it doesn't have to be viewed from a technical perspective.

Similarities Between DOS & CMD

1. Both have a command-line interface and kernel
So, the way they handle problems is the same, and the way they communicate with users is the same
So, they both support batch processing

2. Both are Microsoft products (of course, excluding other versions of DOS and CMD)
So, in many commands and features, they are the same, and even some basic codes are similar.

Differences Between DOS & CMD

1. DOS is a type of operating system, while CMD is a component of an operating system;
So, DOS usually relies on itself to achieve expansion, while CMD usually relies on Windows to achieve;

2. DOS has multiple memory modes, while CMD probably only has protected mode;
So, DOS can execute 16-bit and 32-bit programs, while CMD can execute 32-bit and 64-bit programs(?)

3. Their development teams and subsequent support personnel are different
So, in many commands and features, they have great differences.
Floor 10 Posted 2006-11-30 07:45 ·  中国 天津 联通
新手上路
Credits 2
Posts 1
Joined 2006-11-30 07:25
19-year member
UID 72156
Gender Male
Status Offline
How did we get off track... I also want to know what commands can solve this problem
Floor 11 Posted 2007-01-22 09:14 ·  中国 湖南 衡阳 电信
中级用户
★★
Credits 322
Posts 144
Joined 2007-01-10 13:00
19-year member
UID 76062
Gender Male
Status Offline
Delay can be used for about 5 seconds. The number at the end can be modified by yourself.
ping 1.1.1.1 -n 4

Quick jump out can be done with CTRL+C
Floor 12 Posted 2007-01-22 09:22 ·  中国 江苏 常州 金坛区 电信
初级用户
Credits 73
Posts 29
Joined 2006-08-13 21:22
20-year member
UID 60447
Status Offline
ping -n 10 127.0.0.1 >nul
Floor 13 Posted 2008-08-02 16:11 ·  中国 广东 汕头 潮阳区 电信
高级用户
★★★
DOS时空
Credits 713
Posts 348
Joined 2007-02-10 13:59
19-year member
UID 79169
Gender Male
Status Offline
This!!!
Attachments
WAIT.rar (24.67 KiB, Credits to download 1 pts, Downloads: 61)
Floor 14 Posted 2008-08-10 09:11 ·  中国 上海 东方有线
新手上路
Credits 3
Posts 2
Joined 2007-09-06 19:29
18-year member
UID 96730
Gender Male
Status Offline
Great, I'm just looking for it
Floor 15 Posted 2010-11-09 17:15 ·  中国 广东 东莞 电信
初级用户
★★
Credits 118
Posts 52
Joined 2008-05-07 09:39
18-year member
UID 117968
Gender Male
Status Offline
Which one is less resource-intensive among wait, sleep, and ping methods?
Forum Jump: