>>See VFP Help on ADIR. THere is a 3rd parameter needed to return folder names.
>
>The third parameter is "D"
>
>= ADIR(aFolders, '', 'D')
That I knew. I was pointing out how to find answers like these instead of giving an outright answer. People tend to remember better something they have to lookup themselves. Plus it gets them, hopefully, in the habit of checking help files before posting questions.
Mark McCasland
Midlothian, TX USA