RemoveDirectory(PathName, Transaction)

Removes an existing directory


PathName : PyUnicode

Name of directory to be removed

Transaction=None : PyHANDLE

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


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

Accepts keyword arguments. Implemented only as Unicode.

Win32 API References

Search for RemoveDirectory at msdn, google or google groups.

Search for RemoveDirectoryTransacted at msdn, google or google groups.