Subj : Re: how to detect cdrom? To : CBFalconer From : Steve Date : Fri Feb 08 2002 06:44 pm From: Steve@f3.n342.z1.cereal.mv.com (Steve) Subject: Re: how to detect cdrom? From: "E. S. (Steve) Fabian" CBFalconer wrote: > > "E. S. (Steve) Fabian" wrote: > > > > What FINDRAMD.EXE does (and the Win98 version does work under MS-DOS > > 6.22) is locate the alphabetically first drive with label "MS-RAMDRIVE", > > and returns a corresponding errorlevel. labeled as virtual, or it is undefined. > > Sounds like you pulled it apart looking for undocumented system > calls. I'll take your word for it. > No, I just "sneakernet"-ted it to my DOS6 machine, which already has 6 partitions on two drives, a CDR and a CD-EROM, and a virtual disk (j:). When I changed labels on J:, it did not detect it; when I changed labels on d: to "MS-RAMDRIVE", that's what it detected. In fact if you had two virtual disks, it would stop at the drive with the earlier letter. I am not sure that MS' ramdrive.sys supports multiple virtual disks. Any drive letter chnages caused by SUBST are honored by FINDRAMD (and also by my batch code). -- E. S. "Steve" Fabian ESFabian@BellAtlantic.net POB 1540, Cherry Hill, NJ 08034 Telephone: 856-354-1752 EMPIRE Consultants, Inc. Director, Software Development ------------------------------------------------------------------- -- |Fidonet: Steve 1:342/3 | | Origin: The Cereal Port BBS (603)899-3335 199.125.78.133 (1:132/152) --- # Origin: (1:132/152.4) * Origin: Baddog BBS (1:218/903) .