中国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 07:48
47,812 topics / 349,914 posts / today 0 new / 48,268 members
DOS启动盘 & LOGO技术 (启动盘室) » [Help] ◆◆◆ Looking for how to use Findcd ◆◆◆
Printable Version  968 / 4
Floor1 ww111222 Posted 2003-06-24 00:00
中级用户 Posts 83 Credits 354
 Can one of you experts tell me how to use findcd?

 In autoexec.bat, how can I make a variable get the CD-ROM drive letter found by findcd?

  Thanks


Floor2 Wengier Posted 2003-06-24 00:00
系统支持 Posts 10,521 Credits 27,736
Actually, FINDCD is very simple to use. Just use FINDCD/? and you can see some examples.

For example:
FINDCD
ECHO The CD-ROM drive is %CDROM%

And uses like FINDCD /S have even more features.
Floor3 雨浪飘零 Posted 2003-06-24 00:00
中级用户 Posts 95 Credits 364
Also:
When there are multiple CD-ROM drives, how does it assign the drive letters?
Floor4 Wengier Posted 2003-06-24 00:00
系统支持 Posts 10,521 Credits 27,736
For example:

FINDCD 2 will assign the drive letter of the 2nd CD-ROM drive to %CDROM%; FINDCD 3 will assign the 3rd one, and so on;

If you run FINDCD /S, it will assign all CD-ROM drive letters at once, as %CDROM1%, %CDROM2%, and so on, while at that time %CDROM% will be the total number of CD-ROM drives.
Floor5 雨浪飘零 Posted 2003-06-24 00:00
中级用户 Posts 95 Credits 364
Many thanks, moderator~~~
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023