HINT:
In each dir you're in (say F: to start) you can use ADIR() to get an array of folders IN that folder, e.g:
lnNoFolders = ADIR( laFolders, '', 'D')
Within a folder loop( using CD to get into each), you can use ADIR() to get the files, and sub-dirs (as above), e.g:
...
lcDirfile = ALLTRIM( laFolders( lnFolderNo)) + '\*'
lnNoFiles = ADIR( laFiles, lcDirfile)
...
HTH
Terry
>Hi all, tell me somebody how I can scan one (or more - network) disc and lookup all files named eg. "config.fpw".
>I try FindFirstFile in API, but I don't understand using this.
>P.S. Function ADIR is good only for one dir.
>
>Many thanks.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.