Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by John M. Dlugosz (Monsignor)
on Sep 25, 2001 at 00:39 UTC ( #114421=note: print w/ replies, xml ) Need Help??


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

Perhaps you could override the "built in" CORE meaning of opendir/readdir to have a version that sees all files, or allows you to specify flags somehow.

Or you could use the commandline or GUI shell to turn off the flags on all files, before running your script.

As for "can it be done", yes, use Win32 API functions instead of opendir/readdir or File::Find which uses those. Looks like Win32API::File doesn't have them. But Win32::API can do anything.

—John


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://114421]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2014-12-26 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls