🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #14556

DOS 3.1/3.2 help...

#14556
From: dvadura
Date: Tue, 25 Nov 1986 20:20
22 lines
1561 bytes
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
found a DOS call for it, at least not obviously documented in the technical
reference manual.  (ie. what I want to know is how I can find out that
drives a, b, and d exist and are real disks in the system or in the case
of a system with two partitions c and d on a hard disk,
and one floppy drive called a, I should get the names a, c, and d.)

NOTE:  By names I don't mean I want a, c, and d, it is sufficient to get
       a bit string with bits set for the drives that are actually attached.

It would be even nicer if I can get such info in a portable way.

-thanks in advance
-dennis
-- 
--------------------------------------------------------------------------------
Dennis Vadura, Computer Science Dept., University of Waterloo

UUCP:  {ihnp4|allegra|utzoo|utcsri}!watmath!watdaisy!dvadura
================================================================================
Technical Details
Message-ID: <8005@watdaisy.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!watnot!watdaisy!dvadura

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!watnot!watdaisy!dvadura
From: dvadura@watdaisy.UUCP
Newsgroups: comp.sys.ibm.pc
Subject: DOS 3.1/3.2 help...
Message-ID: <8005@watdaisy.UUCP>
Date: Tue, 25-Nov-86 15:20:53 EST
Article-I.D.: watdaisy.8005
Posted: Tue Nov 25 15:20:53 1986
Date-Received: Wed, 26-Nov-86 04:14:00 EST
Reply-To: dvadura@watdaisy.UUCP (Dennis Vadura)
Distribution: world
Organization: Computer Science Dept., University of Waterloo
Lines: 22