>>How do you create an array/table that contains the names of all the files in a folder using vfp 5.0
>
>nFiles = ADIR(laFiles,"c:\myfolder\*.*")
>
>nFiles will be the number of files in the folder and the array laFiles will contain the file information. See the help for ADIR for more information.
Thanks, now I'm trying to create an array of files that are located in numerous sub-folders.
The above works for one folder, but is there a way to kind of scan through all the sub-folders and make an array of all the files?