|
dengyongbin
初级用户
 
积分 113
发帖 3
注册 2004-2-5
状态 离线
|
『楼 主』:
为什么批处理命令choice不可以在DOS下执行?
使用 LLM 解释/回答一下
为什么在MS-DOS下可以执行批处理命令choice而在纯DOS下不可以?
Why can the batch command choice be executed under MS-DOS but not under pure DOS?
|
|
2004-2-5 00:00 |
|
|
骨灰龙
中级用户
  
积分 206
发帖 22
注册 2004-2-5
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
choice 只能在WINXP及以上版本的操作系统中使用。
The choice can only be used in operating systems of Windows XP and above.
|
|
2004-2-6 00:00 |
|
|
Az
初级用户
 
积分 159
发帖 14
注册 2004-2-2
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
这么说,可能和choise的DOS版本有关吧..
So, maybe it has something to do with the DOS version of choise..
|
|
2004-2-6 00:00 |
|
|
骨灰龙
中级用户
  
积分 206
发帖 22
注册 2004-2-5
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
对。7.1以上的版本可以使用。
Yes. Versions above 7.1 can be used.
|
|
2004-2-6 00:00 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
Re dengyongbin:
可能是%path%搜索路径未设置。
Re 骨灰龙:
你的认识很有问题,dos6开始就有了choice,同版本的系统之间完全可以相互通用。98下的choice完全可以在dos71纯dos方式下使用。dengyongbin的问题估计与版本并无关系。
Re dengyongbin:
Maybe the %path% search path is not set.
Re 骨灰龙:
Your understanding is very problematic. Starting from DOS6, there has been choice, and the same version of the system can be completely mutually compatible. The choice under 98 can completely be used in the pure DOS mode of DOS7.1. The problem of dengyongbin is probably not related to the version.
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2004-2-6 00:00 |
|
|
dengyongbin
初级用户
 
积分 113
发帖 3
注册 2004-2-5
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
谢谢 大家的热心帮助 !
Thank you for everyone's enthusiastic help!
|
|
2004-2-6 00:00 |
|
|
骨灰龙
中级用户
  
积分 206
发帖 22
注册 2004-2-5
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
Re:willsort
感谢指教,确实是我的错误,对我的上次评论表示道歉。
但我发现choice其实是有两个版本。
在win2003server中有一个文件叫choice.exe,而我们所说的choice是DOS下自带的choice.com文件。两个文件的大小差别很大,功能却一样。
choice.exe确实只能在xp以上的系统中才能使用。
Re: willsort
Thanks for the advice. It's indeed my mistake. I apologize for my previous comment.
But I found that there are actually two versions of choice.
In win2003server, there is a file called choice.exe, while the choice we are talking about is the choice.com file that comes with DOS. The two files are very different in size but have the same function.
Choice.exe can indeed only be used in systems above XP.
|
|
2004-2-9 00:00 |
|
|
pizigao
银牌会员
     三生缘里笑红尘
积分 1063
发帖 292
注册 2003-3-9
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
能不能提取出来啊?我想要啊!
Can it be extracted? I want it!
|

 |
|
2004-2-9 00:00 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
Re 骨灰龙:
原来如此,我对WINNT了解很少,那个 CHOICE.EXE 估计是个32位版本。
说来说去,都只能怪MS,好端端弄出多少事来。我在WINXP下就见不着CHOICE.EXE,choice.com 也没有,让我编BATCH来十分头疼。
另外,刚才知道,曾在DOS3中风行一时,在DOS6以后又无影无踪的EDLIN,在XP中又粉墨登场了,只不过由COM换成了EXE。何苦来哉?
Re: Ashes Dragon:
So that's how it is. I know very little about WINNT. That CHOICE.EXE is probably a 32-bit version.
After all that talk, it all comes down to blaming MS, what a lot of trouble they've caused. I can't find CHOICE.EXE in WINXP, and there's no choice.com either, which makes writing BATCH very headache-inducing for me.
Also, just now I found out that EDLIN, which was popular in DOS3 but disappeared after DOS6, has made a comeback in XP, only now it's changed from COM to EXE. Why go through all that?
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2004-2-10 00:00 |
|
|
骨灰龙
中级用户
  
积分 206
发帖 22
注册 2004-2-5
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
Re: willsort
就是,微软不知道瞎搞什么,可能是发现某个还有用,就又搞回来,改个名充数。
不过那个CHOICE.EXE。在WIN2003SERVER中支持了中文显示。但却不能在低于XP的系统版本中使用,真是一大败笔或损失。
Re: willsort
Exactly, Microsoft doesn't know what it's up to. Maybe it found something still useful, so it brought it back and renamed it to pass off.
But that CHOICE.EXE. It supports Chinese display in WIN2003 SERVER. But it can't be used in system versions lower than XP. What a big flaw or loss.
|
|
2004-2-11 00:00 |
|
|
死性不改
中级用户
  
积分 378
发帖 88
注册 2004-5-5
状态 离线
|
|
2004-6-24 00:00 |
|
|
Climbing
铂金会员
       网络独行侠
积分 6962
发帖 2753
注册 2003-4-16 来自 河北保定
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
不同版本的软件的兼容性问题一直是M$固有的问题啊,别说2000下的命令不能用在dos 7.1下,你试过拿不同版本的dos程序互相用吗?例如,你试过拿dos 7.1的command.com在6.22下用吗?根本就不能用。甚至第三方开发的程序都存在类似的兼容问题,所以高版本的dos才会出来一个setver.exe。
不过估计这个问题在UNIX下恐怕也同样存在,系统升级了,很多软件依赖的库文件也变了,当然与某个库相依赖的命令也就不能运行了。
Compatibility issues with different versions of software have always been an inherent problem with M$ systems. Not to mention that commands under 2000 can't be used under DOS 7.1. Have you ever tried using DOS programs of different versions with each other? For example, have you tried using the command.com of DOS 7.1 under 6.22? It simply doesn't work. Even third-party developed programs have similar compatibility issues, so the higher version of DOS has a setver.exe.
But I guess this problem probably exists in UNIX as well. When the system is upgraded, many library files that software depends on also change, and of course, the commands that depend on a certain library can't run either.
|

偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
|
|
2004-6-25 00:00 |
|