With Windows running rampant today, it's not easy to have a forum about DOS. I sincerely thank all the moderators and super moderators for your efforts; they have helped a newbie like me improve a lot.
Recently I've been making a bootable CD that integrates many DOS tools, and I've run into trouble determining the CD-ROM drive letter. To be specific, I mean like a Windows installation CD: no matter what your CD-ROM drive letter is, it can automatically load the CD-ROM driver and install the system. I don't know how that is implemented. Right now I only know how to use the following command in AUTOEXEC.BAT to set the CD-ROM drive letter to X:
LH MSCDEX /D:MSCD000 /L:X
Its drawback is that if there are two or more CD-ROM drives (I happen to have one CD-ROM and one CD-RW), the boot CD can only be used in the primary CD-ROM drive; if run from the secondary drive it says it can't find files. Please advise, thanks
Recently I've been making a bootable CD that integrates many DOS tools, and I've run into trouble determining the CD-ROM drive letter. To be specific, I mean like a Windows installation CD: no matter what your CD-ROM drive letter is, it can automatically load the CD-ROM driver and install the system. I don't know how that is implemented. Right now I only know how to use the following command in AUTOEXEC.BAT to set the CD-ROM drive letter to X:
LH MSCDEX /D:MSCD000 /L:X
Its drawback is that if there are two or more CD-ROM drives (I happen to have one CD-ROM and one CD-RW), the boot CD can only be used in the primary CD-ROM drive; if run from the secondary drive it says it can't find files. Please advise, thanks


