in reply to Using directory handles in recursive functions
I wrote a program that does this a while ago while I was just learning the language, it is large but it uses a mathematical offset to travel down and up arrays. Starting in the root directory you enter and traveling down all subdirectories. It works well although the code is not the cleanest in the world. If you would like to see the code E-mail me at chagen@sei-it.com