>>>>>Hi,
>>>>>
>>>>>Can VFP check whether a floppy disk is inside the drive or not?
>>>>>It can be done in Foxpro 2.x using ISDISKIN.BIN
>>>>>
>>>>>Rgds
>>>>
>>>>Hi Ralf,
>>>>
>>>>In addition to Ed's reply, DISKSPACE("A:") will return -1 if no disk is inserted (or some other error occurs).
>>>
>>>Hi George,
>>>
>>>Is that on a Win95/98 machine? I tried it on a WinNT machine and got an NT system error that ON ERROR would not trap. Or is this what happend on Win95/98 too?
>>>
>>>Bill
>>
>>Win98 SE. I don't have an NT box to test it with. The docs don't say that there may be a problem with NT. Just that -1 is returned. It may be an issue with the ersion/SP of NT that you're running.
>>
>>Maybe Ed R. knows something about this.
>
>My gut feeling is that NT being the picky sort raises a system error, but as you say, maybe Ed or some other system type will know the difinitive answer.
I beat him to it< g >.
George
Ubi caritas et amor, deus ibi est