Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionBOOL CreateDirectory( LPCTSTR lpPathName, // pointer to directory path string LPSECURITY_ATTRIBUTES lpSecurityAttributes // pointer to security descriptor );
\\?\\" to the path. The
\\?\\" tells the function to turn off path parsing; it lets paths
\\?\\" is ignored as part of the path.
\\?\C:\myworld\private\" is seen as
C:\myworld\private\", and
\\?\UNC\bill_g_1\hotstuff\coolapps\" is seen as
bill_g_1\hotstuff\coolapps\".
CreateDirectory(chemin,NULL); //le deuxieme parametre est a NULL pour metre les attributs de securites