Archive: Set Folder and Files in folder to compress attrib


Set Folder and Files in folder to compress attrib
Hello,

is there a way to set a folder (and all files with folders)
to compress attrib? I find in the help only other attribs.

What is when the installer set compress in Win9X?


compression is NTFS only, there is probably some api you can call with the system plugin


FILE_ATTRIBUTE_COMPRESSED attribute cannot be set with SetFileAttributes() instead msnd suggest using DeviceIoControl() api with FSCTL_SET_COMPRESSION operation.

http://msdn.microsoft.com/en-us/libr...92(VS.85).aspx

PaR