Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Update: Finding hidden and system files with File::Find (win32)

by Coyote (Deacon)
on Sep 25, 2001 at 02:06 UTC ( #114433=note: print w/replies, xml ) Need Help??

in reply to Finding hidden and system files with File::Find (win32)

Update: Not suprisingly, tye is correct about the behavior of readdir, glob, and File::Find. Running a script similar to my nimda repair script on a Win2k pro box shows files flagged with the system and hidden attributes.

Running the same script on a Novell Netware server doesn't show hidden and/or system flagged files consistantly. The problem seems to be Netware related rather than perl related. Using the Novell flag command to remove the hidden and system attributes on the effected files before running the script, took care of the problem. I will try to reproduce the problem with files that are less dangerous and update this node with my solution.

Thanks to everyone who responded.


  • Comment on Update: Finding hidden and system files with File::Find (win32)

Replies are listed 'Best First'.
Re: Update: Finding hidden and system files with File::Find (win32)
by softworkz (Monk) on Sep 25, 2001 at 16:51 UTC
    can someone point me in the right direction on how to use the Win32::API I'm in the same boat as Coyote, but the script I wrote using File::Find doesn't work quite right for some folders where I dont have "rights". So for now I'd like the script to just skip those folders, any advice?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://114433]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2018-04-21 13:40 GMT
Find Nodes?
    Voting Booth?