>>Could anybody tell me how to check whether drive A is ready or not? I have to determine it before read/write.
>
>?DISKSPACE('a') && returns -1 if drive a: isn't ready
Excellent Tonis
Just the function I was searching for. I used to use FILE("\\server1\disk\c\test.dbf") to check if the server was online and my whole app stopped while the search went on.
DISKSPACE now returns -1 if no connection and does so with no delay.
Thanks
Bernard