>If I issue ADIR(laArray, FullyQualifiedSubfolder + "\*.*", "D"), it will always return
>at least 2 (for "." and "..") in its count of subfolders, even if FullyQualifiedSubfolder
>is otherwise empty. Is there a way of getting
>ADIR to ignore "." and "..", or must I always keep "." and ".." in mind
>when checking for empty subfolders?
>
>-mark
Mark,
. and .. are not always included. You won't find them in eg adir(aa, 'c:\*.*', 'DHS')
As Tamar answered, you'll have to deal with them, as in
for i = 1 to adir(aa, 'c:\*.*', 'DHS')
if( inlist(m.aa[m.i], '.', '..' ) )
loop
endif
endfor
Gregory