CreateFolder Method

Create a folder in local disk recursively.

Visual C++: HRESULT CreateFolder( BSTR FolderName, long* pVal ) 
Visual Basic: CreateFolder( FolderName As String ) As long
Name of the directory to be created.

Return Value

If this method succeeds, the return value is zero. If it fails, the return value is non-zero.


Additional function to create temporary directory.

See Also

SaveMail Method