set fs = CreateObject("Scripting.FileSystemObject")
set folder = fs.GetFolder(path)
for each item in folder.SubFolders
This code has worked for about 6months or so on a windows 2003 server. Any recent updates (security related maybe) that have changed the way permissions work? I get a permission denied error on the for each item line.