中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-06 09:00
47,812 topics / 349,914 posts / today 0 new / 48,268 members
DOS启动盘 & LOGO技术 (启动盘室) » How to use choice on a boot disk?
Printable Version  2,457 / 4
Floor1 king12345678 Posted 2002-12-08 00:00
初级用户 Posts 2 Credits 107
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.
Floor2 Wengier Posted 2002-12-08 00:00
系统支持 Posts 10,521 Credits 27,736
No need for other attachments, but you need to point PATH to the path of CHOICE, for example: PATH A:\
Floor3 Microng Posted 2002-12-09 00:00
初级用户 Posts 8 Credits 119
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
Floor4 king12345678 Posted 2002-12-09 00:00
初级用户 Posts 2 Credits 107
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
Floor5 tasmzz Posted 2009-04-03 22:39
初级用户 Posts 24 Credits 43
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
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023