I did not know that. I used this code with an old app that ran on a win95 box. So, if NUL is not a valid device in NT, do you know what will work to check for the existence of a diskette in drive A?
>This won't work on NT (and I assume 2000), since NUL is not a valid device.
>
>>IF ! FILE("A:\nul") && no diskette in drive A
>>
>>
>>>Hi All! I recently saw a thread about how to check for a diskette in the A drive, but cannot find the thread or remember the logic.
>>>
>>>Can somebody direct me as to what to do to check for this.
>>>
>>>Thank you.
>>>
>>>Joe
Al Williams
Anola MB, CANADA