how to set the "compressed" attribut flag for ntfs?
attrib dont have it (although sometimes documented as +c, like +e)
compress folder attribute (ntfs) !?
4 posts
This involves a bit of code, see this page: http://www.experts-exchange.com/Prog...rTAFilter=true
I think it makes sense to encapsulate that in a plugin 🙂
I think it makes sense to encapsulate that in a plugin 🙂
I asked same question elsewhere and got the info, that
"attrib +c" is only available in the recoveryconsole.
for normal use it should be "compact" (compact.exe)
your suggestion would be nice as a normal option in "SetFileAttributes"
"attrib +c" is only available in the recoveryconsole.
for normal use it should be "compact" (compact.exe)
your suggestion would be nice as a normal option in "SetFileAttributes"
I'll have a look at it when I get some time 🙂
Edit: I think it is better to put it into a plugin because it will bloat the installer otherwise. To compact a full folder, you need to iterate through all files and subfolders and set the attribute for each of them...
Edit: I think it is better to put it into a plugin because it will bloat the installer otherwise. To compact a full folder, you need to iterate through all files and subfolders and set the attribute for each of them...