Checking drives on XP

Dave Cragg dcragg at lacscentre.co.uk
Wed Mar 12 04:07:00 EST 2003


At 10:32 pm -0800 11/3/03, Richard Gaskin wrote:
>To test for the presence of a CD, I use a technique widely discussed here in
>which we get a list of mounted devices by checkng the drives function, and
>then walk through the list checking for a specific file known to be on the
>CD we're looking for.
>
>On all platforms this metod works great - except XP.
>
>In XP, it seems that checking for the existence of a file will cause the OS
>to bring up an errr dialog if the device is for removable media and no media
>is currently in the drive.  Bummer.

No solution, but a little more information below from an earlier post.


At 1:05 am +0000 24/12/02, Dave Cragg wrote:
>No great help, but a little more information. The system error
>message you describe doesn't always occur in XP, and it can occur in
>other Windows versions. I've seen it in NT 4.0, and have had reports
>of it happening with Win 2000.
>
>I first experienced it  when scanning drives for a file on a CD
>after re-installing XP. Previously, with XP on the same machine, I
>hadn't got the message. I did a search on the web, and came across a
>similar story concerning a software installer (unrelated to
>Metacard) that scanned drives during its install. Some people were
>getting the message and others weren't. One report described two
>identical machines, only one of which had the problem . The machine
>not experiencing the problem was apparently loaded with much more
>software. Intrigued, I installed some more software on my machine,
>and the problem disappeared and hasn't returned.
>
>I guess that leaves you more puzzled than before. :)

The problem still hasn't returned on my XP machine. But I still have 
reports from some users on Win 2000.

Cheers
Dave



More information about the metacard mailing list