Subj : Re: how to detect cdrom? To : Jasen.Betts@xspamp42.f531.n640.z3.f From : Klaus Meinhard Date : Mon Feb 11 2002 01:34 pm From: Klaus.Meinhard@f3.n342.z1.cereal.mv.com (Klaus Meinhard) Subject: Re: how to detect cdrom? From: "Klaus Meinhard" Jasen, > SB> I don't know whether FINDRAM will run in a 16-bit > SB> environment, but it might be worth a try > > ???? It runs fine in ms-dos 7 > > but it seems to only find m$ brand ramdisks. (possibly by looking at the > label) it does exactly that and only that (rename the ramdisk and FINDRAM won't find it, rename another disk to MS-RAMDRIVE and it will be reported as ramdisk). This "utility" is of course easily replaced by a oneliner in 4DOS: for %x in (c: d: e: f: g: h: i: j: w: x: y: z:) do if %@ready[%x] eq 1 if "% @label[%x]" eq "ms-ramdrive" echo drive %x is the ramdrive c:> drive w: is the ramdrive You can o.c. adapt the driveletters to your needs. -- Viele Grube, best regards, *Klaus Meinhard* 07O36'57" East 53O07'52" North Author of the 4XBTM batch collection at http://www.4xbtm.de -- |Fidonet: Klaus Meinhard 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) .