Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check if the file exist
Message
 
 
À
28/05/2007 17:31:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01228925
Message ID:
01228953
Vues:
13
Check sys(2000) function in Help.

>how can I check if some files exist in other PC ?
>
>I use
>
>
>?file('\\PC1\MyApp\Data\cust.dbf')     && exist, return .T.
>
>
>but it's highly not accurate, it will always return .T. although the file is not exist,
>as long as I have it in my own PC
>
>?file('\\PC1\MyApp\Data\cust1.dbf')     && not exist, but return .T., because I have it
>                                         && in my own PC
>
>
>any way to know for sure? please advise.
>
>thanks
>
>Robert
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform