NovasTaylor has asked for the wisdom of the Perl Monks concerning the following question:
Must I capture the existing attributes and then apply all but the COMPRESSED one using SetAttributes? Some example code would be great. I've searched the internets with no success. Thanks - TimWin32::File::GetAttributes($path, $attr); if ($attr & COMPRESSED) { print "File is compressed\n"; # Here I will remove the compressed attribute, but how? }
|
|---|