As the documentation of Win32::File says GetAttributes returns the or-ed combination of the file attributes
To chech if a given attribute is set or not you can use something like that:
my $attrib; Win32::Fine::GetAttributes($path, $attrib); if ($attrib & HIDDEN) { # HIDDEN and other attributes are # exported by Win32::File by default print "$path is hidden\n"; }
Cheers, Flo
In reply to Re: File Properties/attributes in Win32
by rafl
in thread File Properties/attributes in Win32
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |