>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.