From: Bryan Harris <[EMAIL PROTECTED]>
> Is it possible to set the "hidden" attribute of a file on a Windows
> machine using perl?

        use Win32::File;
        GetAttributes( $filename, $attr);
        SetAttributes( $filename, $attr | HIDDEN);

We fetch the attributes it has and add HIDDEN.

Jenda

=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
                                        --- me


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to