ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/09/19:26:02

Message-ID: <32850BAA.3143@ananke.amu.edu.pl>
Date: Sat, 09 Nov 1996 23:54:34 +0100
From: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Reply-To: grendel AT ananke DOT amu DOT edu DOT pl
Organization: Home, sweet home
MIME-Version: 1.0
To: Jean-Pierre Delprat <jpdelprat AT teaser DOT fr>
CC: djgpp AT delorie DOT com
Subject: Re: How to find available drives
References: <562e92$rkv AT news DOT teaser DOT fr>

Jean-Pierre Delprat wrote:
 
> I would like to know how to determine which drives are available,
> including network drives.
> 
> The getdisk() and setdisk() method doesn't seem to work in a network
> environment.
You might use getmntent(). It works very well and will give you all the
information you need. If you want to see some working code, d/load the
DJGPP installer alpha from

  ftp://ftp.delorie.com/pub/djgpp/alpha/inst01as.exe

-- 
**************************************************************************
You tell me I'm drunk then you sit back and smug a while convinced that
you're right, that you're still in command of your senses. I laugh at
your superior attitude, your insincere platitudes will make me throw up.
The sooner you realise I'm perfectly happy if I'm left to decide the
company I choose.
********************** http://ananke.amu.edu.pl/~grendel
*****************


- Raw text -


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