"File" must be a
FileSystemObject.
It looks just like this:
code:
var File = new ActiveXObject("Scripting.FileSystemObject");
File.DeleteFolder("FolderNameToDeleteAsString");
Further information:
MSDN - DeleteFolder Method
quote:
Originally posted by Spunky
I think the folder needs to be empty first anyway...
No, see Remarks on the link above.