Link to home
Start Free TrialLog in
Avatar of yafitmayo
yafitmayo

asked on

How can I change a file attribute to hidden.

I need to change a file attribute to read + hidden.
The read part I know how to do (with sysopen). My problem is the hidden attribute...
Does anyone know how can I change a file attribute to hidden?
Avatar of yafitmayo
yafitmayo

ASKER

I found the answer:
Win32::File::SetAttributes ( $target_file, HIDDEN | READONLY);
ASKER CERTIFIED SOLUTION
Avatar of toti_y
toti_y

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial