win32file.DuplicateEncryptionInfoFile
DuplicateEncryptionInfoFile(SrcFileName, DstFileName, CreationDisposition, Attributes, SecurityAttributes)
Duplicates EFS encryption from one file to another
Parameters
SrcFileName : PyUnicode
Encrypted file to read EFS metadata fromDstFileName : PyUnicode
File to be encrypted using EFS data from source fileCreationDisposition : int
Specifies whether an existing file should be overwritten (CREATE_NEW or CREATE_ALWAYS)Attributes : int
File attributesSecurityAttributes=None : PySECURITY_ATTRIBUTES
Specifies security for destination file
Comments
Requires Windows XP or later
Accepts keyword arguments.
Win32 API References
Search for DuplicateEncryptionInfoFile at msdn, google or google groups.