Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Import and reading from batch files
Message
 
 
To
28/09/2000 05:47:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00421332
Message ID:
00423739
Views:
14
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform