cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/23/21:26:21

From: Delong <dandelong AT osha DOT igs DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Detecting all system drives ... how?
Date: Sun, 23 Feb 1997 20:01:35 -0500
Organization: ...
Lines: 16
Message-ID: <3310E86E.176F@osha.igs.net>
Reply-To: dandelong AT osha DOT igs DOT net
NNTP-Posting-Host: ttya17.osha.igs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I can't seem to find a way to detect all drives attached to the
computer. I don't care about network drives. I'd like to tell the
difference between B: actually existing or just A: being referenced as
A: or B: but thats no big deal.

Is there a way to simply get a yes/no response to whether a drive (being
either a number from 0-26 or letter from A-Z) is attached? I have tried
getmntent but it only detects floppy/CD-ROM drives if there's a disk in
it.

Thanks, hope somoene can help ...
-- 
 ... Andrew Delong
______________________________________________________________
Check out my hompage ... Great for graphics & DOS programming
http://www.osha.igs.net/~dandelong/nash.htm

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019