The CreateDirectory function creates a new directory. If the underlying file system supports security on files and directories, the function applies a specified security descriptor to the new directory
BOOL CreateDirectory( LPCSTR lpPathName, SECURITY_ATTRIBUTES * lpSecurityAttributes )
TRUE the function succeeds; else false.
EX1
int CreateDirectory_ex1() { char szDirPath[] = "c:\\TEXTRO\\"; if (!CreateDirectory(szDirPath, NULL)) { out_str("Couldn't create new directory."); } return 1; }
RemoveDirectory
origin.h