Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Import and reading from batch files
Message
 
 
À
28/09/2000 05:47:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00421332
Message ID:
00423739
Vues:
15
>Hi Jacci and Ko,
> Thanks for your valuable help. Played around with the syntax mentioned and managed to overcome the problem. However, I would also like to know how to read files from the subdirectories of a main dir when this main dir is chosen. I tried using the D attribute in the command adir() but to no avail. Hope you guys could suggest something. Thanks again.
>
>Warmest Regards,
> Siva

Hi Siva,
If you look at the source code in "File Event Notification" in Recent Entries of the Files Section, you will find a function that will populate an array with all file details returned by ADIR() this will also recurse sub-folders. It also gets around the problem of ADIR( aToPolulate, cMask, "D" ) - where only directories that also match the mask are included.
Hope this helps,
Houston.
censored.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform