Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know if a directory exists ?
Message
De
28/10/2008 16:01:27
 
 
À
28/10/2008 14:02:01
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01357782
Message ID:
01357843
Vues:
22
>>how to know if a directory exist ?
>>and how to creat it if not exist ?
>
>
lcDir="w:\somepath\more path\SomeDir"
>if not directory(lcDir)
>    md (lcDir)
>endif
>
perhaps adding ",1'" in the end would'nt hurt just in case directory was hidden
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform