Checking drives on XP

Richard Gaskin ambassador at fourthworld.com
Wed Mar 12 04:26:01 EST 2003


Dave Cragg wrote:

> 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.

Interesting....

Have you been able to identify the differences on your system between the
time it had the error and when the error went away?

I don't suppose it was as simple as having media in those drives, no?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the metacard mailing list