You can also use the File System Object to delete a folder.
Call CreateObject("Scripting.FileSystemObject").DeleteFolder("[!]C:\TekTips\Delete Folder[/!]", True)
Of course, you'll need to chang the folder you want to delete. The TRUE at the end of the line spefies whether read-only files are deleted.
-George
Strong and bitter words indicate a weak cause. - Fortune cookie wisdom