🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2142

Re: Drive detection code.

#2142
From: Dave Kirsch
Date: Mon, 10 Sep 1990 00:04
24 lines
1327 bytes
In article <2100@cod.NOSC.MIL> bmarsh@cod.NOSC.MIL (William C. Marsh) writes:
> 
> In article <3081@mindlink.UUCP> a563@mindlink.UUCP (Dave Kirsch) writes:
> >There was some code posted to this group on obtaining whether a drive is
> >actually accessable or not (i.e. the DOS call setdrive may return 5 drives,
> but
> >in actual fact there is 4).
> >
> >Anyone got this code?  Would appreciate it if you could mail me a copy.
> 
> Here is a simple function I have used to detect valid drives.  It will
> work under DOS 3.X and higher, using the IOCTL function to detect
> removable/fixed disks.
> 
> [ code deleted ]

I was hoping for one that ran under DOS 2.0 and later.  Anyone got one that
will work under DOS 2?
--
--
David Kirsch          UUCP: {uunet,ubc-cs}!van-bc!rsoft!mindlink!a563
Voice: (604) 327-4404       a563@mindlink.UUCP
                      Vancouver, British Columbia
'In-no-sense?  Nonsense!' - The Art Of Noise
Technical Details
Message-ID: <3131@mindlink.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!van-bc!rsoft!mindlink!a563

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!van-bc!rsoft!mindlink!a563
From: a563@mindlink.UUCP (Dave Kirsch)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Drive detection code.
Message-ID: <3131@mindlink.UUCP>
Date: 10 Sep 90 00:04:09 GMT
Organization: MIND LINK! - British Columbia, Canada
Lines: 24