CreateFolder

Public Function CreateFolder(ByVal FullPathName As String) As Boolean

Creates a folder including all folders above. Returns True if successful/existing, false in case of failure.

If CreateFolder("C:\Temp\MySubFolder\SubSub\SubSubSub") Then
   SendDebug "The folder has been created"
End If

See also: