Look at adir() and directory() in the help file. That should put you on the right track.
lnCount = adir(laFiles,"*.")
for x = 1 to lnCount
if directory(laFiles[x,1])
*do what ever
endif
endfor
Hope this gets you in the right direction.
-Eric L Scott
>I have 500+ folders and I need to go to each folder to find out how many subfolders are under the main folder and store the subfolder names to a file. I cannot use DOS RUN comment. Can anyone give me some direction what I can do to pull all the information together.
>
>Thanks, Tai Fei Pao
-Eric