Hi Will,
system("dir A: >nul") does the job. Not clean but not ugly, either ;-) NT
should handle the diskette swap better but this works. I think this has been
an issue all along but not recognized. I wonder if 2000 and XP have the same
behavior...
Many thanks to all who responded.
Bob
-----Original Message-----
From: Will Woodhull [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 11:36 AM
To: Sturdevant-Contractor, Robert W
Subject: Re: Help Accessing A:
The OS is warning you that the floppy you had been working with has been
swapped for another. You could add a system command to your script to have
WinNT "refresh" its reading of the floppy's directory structure when you
swap the disks. I'd try
system ("refresh A:");
or
system("dir A:");
first, but those are shots in the dark.
Hope this helps you get on the right track. I'd be interested in seeing your
final solution.
--
Will Woodhull
Thornhenge, SW Oregon, USA
willl.at.thornhenge.net
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs