oFSO = CREATEOBJ('Scripting.FileSystemObject') IF Type( "oFSO" ) <> "O" WAIT WINDOW "Cannot create File System Object" ELSE oParent = oFSO.GetFolder('C:\DelClient') IF Type( "oParent" ) <> "O" WAIT WINDOW "Cannot get folder C:\DelClient" ELSE FOR EACH oFolder IN oParent.SubFolders IF MessageBox( "Delete folder: " + ALLTRIM( oFolder.Name ) + "?", 1, "Confirm deletion" ) = 1 oFolder.Delete(.T.) ENDIF ENDFOR oFolder = NULL ENDIF oFSO = NULL ENDIFThat works FINE for normally named directories...I created a normally named directory, put it along with the bad ones under C:\DelClient, and this code did delete that one directory ONLY. Seems even WSH can't get to the misnamed directory.