🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DOS 3.1/3.2 help...

#14585
From: Darius "OPRDRT" Ragheb
Date: Fri, 28 Nov 1986 19:48
18 lines
1327 bytes
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.

The way the drives are numbered is A=0, B=1, ....
BUT:   I believe if you have one physical drive (i.e. 0 being called A:),
then you will also have 1 (B:), and DOS will do the prompting for switching
of disks (i.e. Diskcopy a: b: with only one drive....)

-- 

UseNet:              {hplabs, seismo}!hao!isis!dragheb 
Technical Details
Message-ID: <1441@isis.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!nbires!isis!dragheb
References: <8005@watdaisy.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!nbires!isis!dragheb
From: dragheb@isis.UUCP (Darius "OPRDRT" Ragheb)
Newsgroups: comp.sys.ibm.pc
Subject: Re: DOS 3.1/3.2 help...
Message-ID: <1441@isis.UUCP>
Date: Fri, 28-Nov-86 14:48:24 EST
Article-I.D.: isis.1441
Posted: Fri Nov 28 14:48:24 1986
Date-Received: Fri, 28-Nov-86 21:52:49 EST
References: <8005@watdaisy.UUCP>
Reply-To: dragheb@isis.UUCP (Darius "OPRDRT" Ragheb)
Distribution: world
Organization: Math/CS, University of Denver
Lines: 18