Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Directory list
Message
De
25/10/2011 08:02:01
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/10/2011 12:19:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01527190
Message ID:
01527261
Vues:
30
>Hi All,
>
>I am currently writing a program that is supposed to read data from several folders. Example: there are some sub folders (data1,data2 and so on) in the DATABASE folder. May I know how to list out all the sub-folder in the DATABASE folder? Can ADIR() do the job? or some other way?
>
>Thanks for your advice in advance.

In principle, ADIR() works, but you would have to program for recursion (that is, if you expect folders within folders within folders...). The other tools mentioned in thread (or some of them? - not quite sure) provide the required recursion, with minimal programming effort.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform