win32file.SetFileAttributesW
SetFileAttributesW(FileName, FileAttributes, Transaction)
Sets a file's attributes
Parameters
FileName : PyUNICODE
File or directory whose attributes are to be changedFileAttributes : int
Combination of FILE_ATTRIBUTE_* flagsTransaction=None : PyHANDLE
Handle to the transaction. See win32transaction::CreateTransaction.
Comments
If Transaction is not None, SetFileAttributesTransacted will be called (requires Vista or later)
Accepts keyword arguments.
Win32 API References
Search for SetFileAttributes at msdn, google or google groups.
Search for SetFileAttributesTransacted at msdn, google or google groups.