win32file.CreateDirectoryExW

CreateDirectoryExW(TemplateDirectory, NewDirectory, SecurityAttributes, Transaction)

Creates a directory

Parameters

TemplateDirectory : string

Directory to use as a template, can be None

NewDirectory : string

Name of directory to be created

SecurityAttributes=None : PySECURITY_ATTRIBUTES

Security for new directory (optional)

Transaction=None : PyHANDLE

Handle to a transaction (optional). See win32transaction::CreateTransaction.

Comments

If a transaction handle is passed, CreateDirectoryTransacted will be called (requires Vista or later).

Accepts keyword arguments.

Win32 API References

Search for CreateDirectoryEx at msdn, google or google groups.

Search for CreateDirectoryTransacted at msdn, google or google groups.