Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What command for checking the existence of a directory?
Message
De
11/12/1997 21:09:54
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00065212
Message ID:
00065449
Vues:
40
>>Dear all,
>>
>>How can I check whether a directory exists? Many thanks.
>>
>>Best regards,
>>Ron.
>
>there is a command directory()
> that will return a logical if it exists or not.

Works in VFP 5.0

In VFP 3.0 I use a less direct approach.
IF ADIR( laFiles, "C:\TEMP", "D" ) # 0 && do not add trailing backslash
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform