Function ShowFolderList(folderspec) Dim fso, f, f1, s, sf Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFolder(folderspec) Set sf = f.SubFoldersFor Each f1 in sf s = s & f1.name s = s & "<BR>" Next ShowFolderList = sEnd Function