Check attribute parameters of ADIR. By default i does not include Hidden and System folders/files.
>
>I am using ADIR to gather the folders (there are 4000+) on a drive. Lately the command is not picking up some folders - I say lately but it is only the odd one so it may have been happening for a while. These folders are neither at the beginning or the end, they seem no different than any of the folders that it does pick up. I am at a loss as to what could cause this and what to do about it.
>
>I need to know all the folder names and search through them quickly as each record in a database is displayed. Any suggestions?
>
>The same thing happens whether I use VFP 6 or VFP 9.
>
--sb--