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

is there a better way to drill through and NT dir and sub dirs rahther than useing /*/*/* all the way through the code. example push( @ARGV, "Z:\\/*/*" ) unless( scalar @ARGV );

Replies are listed 'Best First'.
Re: Scanning through NT directoies.
by sch (Pilgrim) on Oct 14, 2002 at 14:19 UTC
      Try "dir z: /s", this will recurse all directories and provide you with file listings for everything you want. Better yet, use "dir z: /s /b", which will give you full path including file name which you can parse (or not) later depending on what you want to get out of it.

      Hope it helps.

      George