Implemented in version 2.0
folder [, force]
This method is used to delete a specified folder or folders (using wildcards), including all of its subfolders and files. The optional
parameter returns a Boolean value -
allows folders with read-only attributes to be deleted, while
(default) does not.
Note that an error also occurs if you try to delete a folder that doesn't exist.
Set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FolderExists("c:\DevGuru\website\") Then
Copyright 1999-2004 by Infinite Software Solutions, Inc. All rights reserved.