Folder.Delete() (Method)

A method to delete a folder.

Availability:

JScript - 3.0
Internet Explorer - 4.0
JavaScript syntax:IEmyFolder.Delete(aFlag)
Argument list:aFlagA flag to indicate whether to force the deletion

You may remove folders via the FileSystem.DeleteFolder() method or with this method. Choose one and stick to it if you can.

See also:File.Delete(), FileSystem.DeleteFolder()