Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow detection of absent UNC
Message
De
16/11/2007 18:57:02
 
 
À
16/11/2007 11:45:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01269426
Message ID:
01269590
Vues:
20
>When a built-in function like DIRECTORY(), FILE() or FCREATE() is passed a UNC-path that does not (no longer) exist, it takes a very long time to tell you that. Is there an API function that can tell this much quicker?

Hi Peter

I don't know whether this works with UNC Paths but you can try. I too found this problem long ago and after that started using DISKSPACE(). This returns a -1 immediately if the path is not found and the DiskSize if found. No waiting. The reply is instant.

Try it and see.

Bernard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform