SECFileSystem::MakePath

BOOLSECFileSystem::MakePath(const CString&NewDirectory)

Makes a subdirectory (including all intervening dirs necessary).

Defined in: filesys.cpp

Return Value

Nonzero if successful; otherwise 0 (Unable to create path. Error occurred, path already exists, or no path given).

Parameters

NewDirectory

Name of path to create.

Comments

To make all the directories in a given path. If any of the directories exist, the creation continues with lower level directories.

Example

BOOL bRetVal = fs.MakePath("c:\\foo\\bar\\what");

See Also

SECFileSystem  MakeDirectory  DeleteDirectory