>Does anyone have experience with programmatically performing a file search in VFP based on a top-level directory? This would be similair to what explorer gives you the capability of doing in the find files or computers tool.
>
>The file system object doesn't seem to be up to the task. I could use ADIR but then I have to iterate through all of the sub-direcories under the specified search directory which seems like a lot of work. Perhaps this is my only choice.
>
>Any suggestions?
>
>Thanks for your help!
>
>-JT
Jeff,
The only way to is recurse the directory and its children. In some ways the FSO is easier than ADIR() since it separates the directories and files into different collections. Using ADIR(), however, is faster. Cetin Basoz, I think had a routine that used ADIR() that he's posted here several times, including recently. You might want to check his recent posts.
George
Ubi caritas et amor, deus ibi est