The Win32::File module allows you to view or set the attributes for
files. There are two functions that allow you to do this, which must
be explicitly imported to your namespace:
use Win32::File qw/GetAttributes SetAttributes/;
The constant values for the attributes are exported by default.
Returns the attribute settings for file
and saves them
as the variable referenced by
, which will contain
an ORed combination of one or more of the following values:
Set the attributes for the file
to the values
. The attributes are given as an ORed combination
of one or more of the attribute values shown above.