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-07-23 00:53
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » How to use choice on a boot disk? View 2,364 Replies 4
Original Poster Posted 2002-12-08 00:00 ·  中国 河北 石家庄 联通
初级用户
Credits 107
Posts 2
Joined 2002-12-08 00:00
23-year member
UID 443
Gender Male
Status Offline
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.
Floor 2 Posted 2002-12-08 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
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和雨露,谢谢!)

Floor 3 Posted 2002-12-09 00:00 ·  中国 广东 佛山 顺德区 电信
初级用户
Credits 119
Posts 8
Joined 2002-12-09 00:00
23-year member
UID 450
Gender Male
Status Offline
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
Floor 4 Posted 2002-12-09 00:00 ·  中国 河北 石家庄 联通
初级用户
Credits 107
Posts 2
Joined 2002-12-08 00:00
23-year member
UID 443
Gender Male
Status Offline
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
Floor 5 Posted 2009-04-03 22:39 ·  中国 辽宁 鞍山 联通
初级用户
Credits 43
Posts 24
Joined 2009-04-03 07:29
17-year member
UID 142006
Gender Male
Status Offline
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
Forum Jump: