Open timofeika opened 3 months ago
Thanks for the feedback.
Fyi this is an easy work; just call SetFileAttributesW using FILE_ATTRIBUTE_COMPRESSED flag, as we do similar for the hidden attribute.
Sure, thinking to rewrite it to Rust, Kappa.
Thanks for the feedback
Turned out that the dedicated function is DeviceIoControl with FSCTL_SET_COMPRESSION IOCTL control code. But still up-for-grabs.
Fyi this is an easy work; just call SetFileAttributesW using FILE_ATTRIBUTE_COMPRESSED flag, as we do similar for the hidden attribute.
@0x5bfa I've tried this but it doesn't seem to work. You can find my code in ya/CompressedAttribute
.
What feature or improvement do you think would benefit Files?
Tried to set extended attribute 'compressed' to big text file, and didn't find how to set this attribute. In properties of the file i can set only 'read only' and 'hidden'.
Requirements
Files Version
3.6.0.0
Windows Version
22635.4005
Comments
No response