Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make sure directory exists
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00117916
Message ID:
00118071
Vues:
21
>How could I check to see if a given directory exist before attempting to create a file there at runtime? (the directory name is stored in a configuration table and it will probably exist most of the times, but...).
>
>Thanx in advance.

In addition to the advice you've already been given, there's a file in the Download section (Win 32 and other APIs) called Winfiles. It will allow you to verify whether or not the file or directory exists (you'll have to check the attributes which are returned), as well as various date and time information.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform