Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!styx!ames!ucbcad!ucbvax!sdcsvax!osbook From: osbook@sdcsvax.UCSD.EDU (osbook) Newsgroups: comp.sys.ibm.pc Subject: re: number of DOS drives Message-ID: <2268@sdcsvax.UCSD.EDU> Date: Tue, 2-Dec-86 02:36:43 EST Article-I.D.: sdcsvax.2268 Posted: Tue Dec 2 02:36:43 1986 Date-Received: Tue, 2-Dec-86 06:40:06 EST Organization: University of California, San Diego Lines: 23 References: <8005@watdaisy.UUCP> <1441@isis.UUCP> Reply-To: osbook@sdcsvax.UUCP (osbook) Distribution: world Organization: U.C. San Diego In article <1441@isis.UUCP> dragheb@isis.UUCP (Darius "OPRDRT" Ragheb) writes: >In article <8005@watdaisy.UUCP> dvadura@watdaisy.UUCP (Dennis Vadura) writes: >> >>Hi there, does anyone out there in net land know how you can find out from >>DOS what the names of physical drives active in the system are? I haven't > >I think this might work (I have not tried it): >use function (_FUNCTION_, not interrupt) call Eh. It will do two things: >make the drive selected in DL the current drive, and >return the number of drives in AL. > If you had tried it, you would have found out it *doesn't* work :-) :-) DOS always returns a minimum of *5* drives (this corresponds to the minimum value of "E" in the LASTDRIVE command in CONFIG.SYS. Harley Hahn osbook@sdcsvax.ucsd.edu