Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check whether drive A is ready or not?
Message
From
08/08/1999 19:19:26
 
 
To
06/08/1999 08:42:52
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00250330
Message ID:
00251311
Views:
14
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform