Re: Win32 Question - Detecting floppy in drive...

2002-01-29 Thread Sean O'Leary
Wow, a Prodigy email address... I remember using them back in the day. I'm kinda surprised they are still with us. At 12:25 PM 1/28/2002, you wrote: >In VB, I can make an API call (Can't remember what it is off the top of my >head) that will basically look at the drive and detect if I need to p

Re: Win32 Question - Detecting floppy in drive...

2002-01-28 Thread Jonathan E. Paton
> I need a clean way to detect if a floppy is in the floppy > drive, prior to accessing the drive to write a file. > > Is there a clean method, in perl, to do this? Err... why not do the following: while (not open(FILE, ">m")) { prompt("Insert Disk") } The *** BEST *** way to do this sort of t