... taken and modified from
note: I added a couple more folders to the GoodFolders list and commented out the actual delete untill you can test it.

-Andrew
Dim GoodFolders
GoodFolders = Array("Default User","All Users","Administrator","LocalService","NetworkService")
Call ShowFolderList("C:\Documents and Settings")
Sub ShowFolderList(folderspec)
Dim fso, f, f1, fc, i, delete
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFolder(folderspec)
Set fc = f.SubFolders
For Each f1 in fc
delete = True
For i = 0 to UBound(GoodFolders)
If f1.name = GoodFolders(i) Then delete = False
Next
If delete = True Then msgbox(f1.name)'f1.delete
Next
End Sub
[TAG]
anongod@hotmail.com
'Drawing on my fine command of language, I said nothing.'