>>>Dear All:
>>>
>>>Back in the FoxPro for Windows days I was using a third party library called ZDRVSTAT to check the status of my diskettes when writing files to diskettes.
>>>
>>>It was never updated. What can I use to check disk status and handle properly the input/output problems when writing to diskette?
>>>
>>>Thanks in advance,
>>
>>Hi Bruce,
>>
>>In all our discussion about the WSH, it's also been overlooked that DISKSPACE("a:") returns -1 if there's no disk in it.
>
>Except under NT, where it pops a little Abort, Retry Ignore dialog by default.
Would a call to SetErrorMode() fix that? BTW, I knew there was some reason why the WSH was preferable. Just couldn't remember it.
George
Ubi caritas et amor, deus ibi est