|
king12345678
初级用户
 
积分 107
发帖 2
注册 2002-12-8
状态 离线
|
『楼 主』:
怎样在启动盘上使用choice??
使用 LLM 解释/回答一下
做了一个测试,不能使用choice,我已经把choice命令复制到启动盘目录了,请问还需要什么其它附件吗?为什么不能使用?
错误现象是不能选择。
I did a test and couldn't use choice. I've copied the choice command to the boot disk directory. What other attachments are needed? Why can't it be used? The error phenomenon is that no choice can be made.
|
|
2002-12-8 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
不需要其它的附件,但需要将PATH指向CHOICE的路径,例如:PATH A:\
No need for other attachments, but you need to point PATH to the path of CHOICE, for example: PATH A:\
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2002-12-8 00:00 |
|
|
Microng
初级用户
 
积分 119
发帖 8
注册 2002-12-9
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
read it ,you will get it !
))))))))))))
@echo off
echo welcome to do copy<img src="images/smilies/face-laugh.png" align="absmiddle" border="0">
echo (y):do copy
echo (n):not to do copy
choice /n /c:yn please select y,n!
if errorlevel 2 goto n
if errorlevel 1 goto y
:n
goto endl
:y
echo you will do copy..
echo (a): copy C:\windows\command\*.* D:\dos\.
echo (b): copy C:\windows\command\*.* e:\dos\.
echo (c): copy C:\windows\command\*.* f:\dos\.
choice /n /c:abc please select the motion of copy!
if errorlevel 3 goto c
if errorlevel 2 goto b
if errorlevel 1 goto a
:c
md D:\dos\.
copy C:\windows\command\*.* D:\dos\.
goto endl
:b
md e:\dos\.
copy C:\windows\command\*.* e:\dos\.
goto endl
:a
md f:\dos\.
copy C:\windows\command\*.* f:\dos\.
goto endl
:endl
echo think you use it<img src="images/smilies/face-laugh.png" align="absmiddle" border="0">
goto end
:end
Read it ,you will get it !
))))))))))))
@echo off
echo welcome to do copy:)
echo (y):do copy
echo (n):not to do copy
choice /n /c:yn please select y,n!
if errorlevel 2 goto n
if errorlevel 1 goto y
:n
goto endl
:y
echo you will do copy..
echo (a): copy C:\windows\command\*.* D:\dos\.
echo (b): copy C:\windows\command\*.* e:\dos\.
echo (c): copy C:\windows\command\*.* f:\dos\.
choice /n /c:abc please select the motion of copy!
if errorlevel 3 goto c
if errorlevel 2 goto b
if errorlevel 1 goto a
:c
md D:\dos\.
copy C:\windows\command\*.* D:\dos\.
goto endl
:b
md e:\dos\.
copy C:\windows\command\*.* e:\dos\.
goto endl
:a
md f:\dos\.
copy C:\windows\command\*.* f:\dos\.
goto endl
:endl
echo think you use it:)
goto end
:end
|
|
2002-12-9 00:00 |
|
|
king12345678
初级用户
 
积分 107
发帖 2
注册 2002-12-8
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
谢谢大家的帮助,没问题了,我这里出问题原因是在Virtual PC虚拟中不能正常使用,后来我刻成光盘后实际使用没有问题了!
谢谢Wengier
谢谢Microng
Thanks to everyone's help, it's okay. The reason for the problem here is that it couldn't work normally in the Virtual PC virtual machine. Later, I burned it to a CD and it worked fine in actual use!
Thanks Wengier
Thanks Microng
|
|
2002-12-9 00:00 |
|
|
tasmzz
初级用户
 
积分 43
发帖 24
注册 2009-4-3
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
在虚拟机里安装dos7.1 这后,就能用了,注意先要分区,并设为主要为区
After installing DOS 7.1 in a virtual machine, it can be used. Note that you need to partition first and set it as the primary partition
|
|
2009-4-3 22:39 |
|