Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.
Dim objFSO, strFolder, strFile strFolder= wscript.Arguments(0) set objFSO = createobject("Scripting.FileSystemObject") IF objFSO.FolderExists(strFolder) Then If ((objFSO.GetFolder(strFolder).SubFolders.Count = 0) AND (objFSO.GetFolder(strFolder).Files.Count = 0)) Then objFSO.DeleteFolder strFolder, true End If End If
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.