MS JScript JavaScript Tutorial

Syntax

filesystemobject.DeleteFolder(foldername, force)
The DeleteFolder() method removes an existing folder and all its contents.
foldername is a string specifying the folder name.
force is a Boolean value indicating whether to delete a file with read only permissions.


    
    
    
    
    Delete Folder: "newtmp"