Date: Sun, 10 Nov 1996 15:29:25 +0200 (IST) From: Eli Zaretskii To: Jean-Pierre Delprat Cc: djgpp AT delorie DOT com Subject: Re: How to find available drives In-Reply-To: <562e92$rkv@news.teaser.fr> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 9 Nov 1996, 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. The answer depends on what do you mean by ``available drives''. For some cases, the `getmntent' library function is what you are looking for.