![]() |
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-10-27 07:47 |
47,815 topics / 349,928 posts / today 0 new / 48,289 members |
| DOS启动盘 & LOGO技术 (启动盘室) » How to automatically switch to the CD-ROM drive letter after booting? |
| Printable Version 1,646 / 5 |
| Floor1 xp2002_xp | Posted 2003-07-06 00:00 |
| 初级用户 Posts 17 Credits 157 | |
|
I'm a newbie and don't know much about DOS.
I want to make a boot disk to serve as the boot files for a CD, so that after the machine boots it can automatically switch to the CD-ROM drive letter. Question: how should the batch file be written? What other files are needed on the disk? Please take the time to answer, thanks!! |
|
| Floor2 wglwx | Posted 2003-07-06 00:00 |
| 高级用户 Posts 187 Credits 616 | |
|
If you already know how to use a boot floppy to make a bootable CD, and just don't know how to automatically switch to the CD-ROM drive letter after booting,
then you only need to solve the problem of finding the CD-ROM drive letter. There are two methods: 1. Specify the CD-ROM drive letter: add /L:X at the end of the line containing MSCDEX.EXE in AUTOEXEC.BAT on the boot floppy (X can be replaced with other letters) This method is simple and easy to use; beginners are advised to use it. 2. Use FINDCD.EXE to find the CD-ROM drive letter. This method is a bit more complicated; you can refer to the Super Moderator's MSDOS7.10 Super Boot Disk. After deciding which method to use, add one line at the end of AUTOEXEC.BAT on the boot floppy: X: (first method) or %CDROM%: (second method) Then after booting it will enter the CD-ROM drive letter (of course, the first CD-ROM drive letter). If you still don't know how to use a boot floppy to make a bootable CD, then first look at the old posts from before, learn that, and then do the above. |
|
| Floor3 xp2002_xp | Posted 2003-07-06 00:00 |
| 初级用户 Posts 17 Credits 157 | |
|
Thanks, brother wglwx!
I already know how to use a boot floppy to make a bootable CD. My goal is: to use this disc to boot any machine and have it automatically switch to the CD-ROM drive letter. Question: Can method 1 achieve this goal? |
|
| Floor4 wglwx | Posted 2003-07-06 00:00 |
| 高级用户 Posts 187 Credits 616 | |
|
Yes.
Note: 1.There should be this line in CONFIG.SYS: LASTDRIVE=Z 2.You can test with a floppy first, and burn the CD after it succeeds. |
|
| Floor5 xp2002_xp | Posted 2003-07-07 00:00 |
| 初级用户 Posts 17 Credits 157 | |
| Floor6 shawell518 | Posted 2006-10-22 00:41 |
| 中级用户 Posts 97 Credits 310 | |
Originally posted by xp2002_xp at 2003-7-6 12:00 AM: Buddy, did it work or not? Share it with us |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |