CreateDirectoryPath
Create an entire path of directories. Each sub-directory is created as it goes.
Tested in UNICODE.
bool CreateDirectoryPath( LPCTSTR pcszDirectory )
Return value
Returns true if the creation is successful or if the directory already exists.
Example
if( CreateDirectoryPath( "\\\\HOMER\\C\\blah\\de\\blah" ) )
{
// Then our entire path has been created
}
See also none