Mail Archives: djgpp/1996/10/15/09:52:30
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 -