Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding a blank directory.
Message
De
30/06/1997 14:06:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00038130
Message ID:
00038145
Vues:
39
>I can't seem to find a way to tell if a directory exists. It seems like such a simple task, but the only thing I can think of is to use the FILE command to find a file inside the directory in question. What if there are no files in the directory? I thought I'd better ask the experts before I waste too much time on a seemingly simple task. Thanks for any help.

? ADIR(laDir,lcYourDirPathHere,'D')

If it returns 0, that's because the directory does not exist.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform