delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/15/09:52:30

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Organization: Materials Science Centre
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp AT delorie DOT com
Date: Tue, 15 Oct 1996 14:20:46 GMT
Subject: Re: Drive Help
Message-ID: <10E30B4676A@fs2.mt.umist.ac.uk>

On Tue, 15 Oct 1996, Tim Gunn wrote:
> I am in serious need of a quick way to check what drives are available, I
> know of using mntent.h, but this checks if the drive is currently valid,
> this is no use for floppy drives quick way to detect available drives.

  Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> replied:-
> ... Do you maybe want to know if there is drive A: even if it is empty (i.e.
> without a floppy inside)?

That seems sensible. A program complaining "There is no drive A:" when it
should complain "Drive A: is empty or out of order" is wrong and confusing;
and leaving it to DOS's usual moan about "Abort? Ignore? [etc]" often messes
up a carefully worked-out screen layout.

- Raw text -


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