http://www.perlmonks.org?node_id=114412

Coyote has asked for the wisdom of the Perl Monks concerning the following question:

I'm in the process of cleaning up some network shares hit by the nimda virus/worm and the virus attaches itself as a trojan to a couple of dll and exe files as well as copying *.eml and *.nws files everywhere. I'm using File::Find to recurse through the infected system's file system and clean up the mess. My script is picking up the *.eml and *.nws files without any problem, however I'm missing the executable files which are flagged with the hidden and system file system attributes. Is there any way to find files with the hidden and system attribute set on a Win32 system?

----
Coyote