Are you allowed to have nested "for each..." loops? I am positive it's allowed, but, I am getting a weird error so I am searching for anything!!
Why not tell us the error message then?
Microsoft VBScript compilation error '800a0410' <BR><BR>Invalid 'for' loop control variable <BR><BR>/ListDirectory/ASP/dir_list2.asp, line 76 <BR><BR>For Each objItem In objFolder2.SubFolders<BR><BR>
...assigned a reference to some other object to that variable?<BR><BR>Just try picking a different--not already used--name?<BR><BR>