DeleteFolder

Public Function DeleteFolder(ByVal Foldername As String, Optional ByVal Recursive As Boolean = False) As Boolean

Deletes a folder from the file system.

Dim lFolderDeleted As Boolean = DeleteFolder("C:\Temp\MyFiles", True)

See also: