Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check whether drive A is ready or not?
Message
De
08/08/1999 19:19:26
 
 
À
06/08/1999 08:42:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00250330
Message ID:
00251311
Vues:
15
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform