|
gmy
版主
        操作系统爱好者
积分 1113
发帖 392
注册 2002-11-11
状态 离线
|
『楼 主』:
请教:CMD里有类似WAIT.COM的命令吗?
使用 LLM 解释/回答一下
在2000/XP的CMD环境下,有类似纯DOS下的WAIT.COM命令吗?
即,等待10后继续运行,按ESC立即运行
类似:
c:\>wait 10
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 站长 葛明阳 |
|
2006-11-21 00:17 |
|
|
Climbing
铂金会员
       网络独行侠
积分 6962
发帖 2753
注册 2003-4-16 来自 河北保定
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
用google搜索sleep、timeout。
Windows 2000/2003的resource kit中包含这些命令。
Search for "sleep" and "timeout" using Google. The Windows 2000/2003 Resource Kit contains these commands.
|

偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
|
|
2006-11-21 05:31 |
|
|
kxows
初级用户
 
积分 31
发帖 11
注册 2006-11-7
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
用 choice 设定一个时间值就能搞定
有选择则GOTO,无选择规定时间过去也继续执行
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
|
|
2006-11-21 11:09 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
|
2006-11-23 12:14 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
可见 CMD 腐化 DOS 到何种程度了
呵呵,共存吧。怎么还分敌我呢?都是一家人
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'>" |
|
2006-11-23 13:23 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
不行!不能因为命令行相似就认为是一家人,这不只是命令行相似的问题,而是两个系统的原则性问题。况且,也就是从商业角度上来说也就是 MS-DOS 和 CMD 是一家人,从技术角度来说不是一家人。
我不反对用 CMD ,而是绝对不允许 CMD 想染指 DOS 的地盘。我不是要分什么敌我,更主要的是,绝对不允许 Windows 下的命令行想逐渐替代 DOS 的阴谋得逞。除非啥时候 CMD 也象 DOS 一样能独立启动的解决问题,我们才把它归入 DOS 的怀抱,嘿嘿!
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!
|

DOS倒下了,但永远不死
DOS NEVER DIES !
投票调查:
http://www.cn-dos.net/forum/viewthread.php?tid=46187
本人尚未解决的疑难问题:
http://www.cn-dos.net/forum/viewthread.php?tid=15135
http://www.cn-dos.net/forum/viewthread.php?tid=47663
http://www.cn-dos.net/forum/viewthread.php?tid=48747 |
|
2006-11-24 01:41 |
|
|
gmy
版主
        操作系统爱好者
积分 1113
发帖 392
注册 2002-11-11
状态 离线
|
『第 7 楼』:
DOSforever 的话有些偏激。
使用 LLM 解释/回答一下
本来都是微软的东西,另外,我们是为了解决问题才学习DOS或CMD的,不要为了学习DOS而学习DOS,更不要自己认为DOS很高深(显示自已比别人高一等的不良心态)而学DOS。总之,要摆正学习目的。
要永远记住:任何操作系统都是为应用服务的,不能抓住耗子的猫不是好猫。
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 站长 葛明阳 |
|
2006-11-28 21:50 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
本来都是微软的东西,
——
DOS 本来也不是微软首创,也不是只有它一家,而且也不是它家最好。
另外,我们是为了解决问题才学习DOS或CMD的,不要为了学习DOS而学习DOS,更不要自己认为DOS很高深(显示自已比别人高一等的不良心态)而学DOS。总之,要摆正学习目的。
——
本来一开始是这样的,但随着 DOS 实用性的减小,我认为即使仅仅是由于乐趣而学学 DOS 也不错。DOS 既可以说高深也可以说不高深,主要是看你应用到哪种程度了。学了 DOS 就显得比别人高一等了???哈哈
要永远记住:任何操作系统都是为应用服务的,不能抓住耗子的猫不是好猫。
——
对,这句话是没错。但是即使这只猫老了不能抓老鼠了,但它还可以干别的事情,我们绝不会就此而抛弃它。
我说过,如果是为了实用主义的话,那么这个论坛也没必要开了。或者没必要挂羊头卖狗肉。
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.
|

DOS倒下了,但永远不死
DOS NEVER DIES !
投票调查:
http://www.cn-dos.net/forum/viewthread.php?tid=46187
本人尚未解决的疑难问题:
http://www.cn-dos.net/forum/viewthread.php?tid=15135
http://www.cn-dos.net/forum/viewthread.php?tid=47663
http://www.cn-dos.net/forum/viewthread.php?tid=48747 |
|
2006-11-29 04:22 |
|
|
qzwqzw
银牌会员
     天的白色影子
积分 2343
发帖 636
注册 2004-3-6
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
dos和cmd的界限
界限是在人的心中的,而每个人心中的界限都有所不同。
微软的产品注重与用户的亲和力,在技术上是能简则简的,所以很多技术上的概念和界定是很模糊的。
所以大概只能求同存异了,只要大家将dos和cmd之间的同与异找出来,也许可以知道界限应该如何划定了。当然,不一定非要从技术的角度去看这个问题。
dos & cmd 的同
1、都具有命令行的界面和内核
所以,他们处理问题的方式是一致的,与用户交流的方式是一致的
所以,它们都支持批处理
2、都是微软的产品(当然不包括其他版本的dos和cmd)
所以,在很多命令和特性上他们是一致的,甚至某些基本代码也具有雷同之处。
dos & cmd 的异
1、dos是一类操作系统,而cmd是一个操作系统的组成部分;
所以,dos通常依赖自身实现扩展,而cmd通常依赖windows实现;
2、dos有多种内存模式,而cmd大概只有保护模式一种;
所以,dos可以执行16位和32位程序,而cmd可以执行32位和64位程序(?)
3、它们的开发小组和后续支持人员是不一样的
所以,在很多命令和特性上,它们又具有很大的差别。
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.
|
|
2006-11-29 08:00 |
|
|
yezhishui
新手上路

积分 2
发帖 1
注册 2006-11-30
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
怎么跑题了...我也想知道有什么命令能解决这个问题
How did we get off track... I also want to know what commands can solve this problem
|
|
2006-11-30 07:45 |
|
|
bob1989
中级用户
  
积分 322
发帖 144
注册 2007-1-10
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
延时可以用 大约5秒 最后面的数字可以自己修改
ping 1.1.1.1 -n 4
快速跳出可以用CTRL+C
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
|
|
2007-1-22 09:14 |
|
|
jtyuer
初级用户
 
积分 73
发帖 29
注册 2006-8-13
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
ping -n 10 127.0.0.1 >nul
ping -n 10 127.0.0.1 >nul
|
|
2007-1-22 09:22 |
|
|
haiou327
高级用户
    DOS时空
积分 713
发帖 348
注册 2007-2-10
状态 离线
|
|
2008-8-2 16:11 |
|
|
zhuyongfu
新手上路

积分 3
发帖 2
注册 2007-9-6
状态 离线
|
|
2008-8-10 09:11 |
|
|
wxs81514
初级用户
 
积分 118
发帖 52
注册 2008-5-7
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
这个wait跟sleep,ping方式哪个不占资源一点?
Which one is less resource-intensive among wait, sleep, and ping methods?
|
|
2010-11-9 17:15 |
|