DeleteFolder method Removes
a directory and its contents.
Syntax:
object.DeleteFolder(name [,boolForce])
Parameters:
name - The directory specification (usually full path name
of the directory)
boolForce - Force delete even if read-only flag is set.
Default is False.
Remarks:
The method deletes the directory and all the contents
recursively. If the boolForce is not set to True the elements (files
and directories) with read-only attribute set will remain undeleted
and the method will return error.
Applies to: SFMain
object
Supported on:
Windows 95/NT and later
Windows CE 3.0 and later
Pocket PC/Windows Mobile 2003 and later
Windows CE.NET 4 and later
|