• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Microsoft's Scripting Engine ... > FileSystemObject.DeleteFolder()

FileSystemObject.DeleteFolder()

JScript3.0+syntax

							filesystemobject.DeleteFolder(foldername, force)

Description

The DeleteFolder() method is used to remove an existing folder and all its contents. This method takes two parameters. The first parameter, foldername, is a string specifying the name of the folder to delete, while force is a Boolean value indicating whether a file that has read only permissions can be deleted.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint