Re: Looking for a freeware command line tool that can make a program perform recursive functions on a complete folder tree
- From: Razvan Cosma <razvan.cosma@xxxxxxxxx>
- Date: Mon, 25 Sep 2006 11:47:51 +0300
Mike Matheny wrote:
Looking for a freeware command line tool that will let me run a program onAs stated in a previous thread:
every file I select throughout a complete folder structure - found a program
named Global doing a search on the internet, but can't find the program!
#!C:/Perl/bin/perl.exe
use File::Find;
$dir = "c:/some/dir";
find(\&dostuff, $dir);
This will enumerate recursively (and pretty fast) all the files in
c:\some\dir and for each one execute the dostuff procedure which gets
the file name in $_
.
- References:
- Prev by Date: Re: windows update down?
- Next by Date: Permissions for home directory. What to set?
- Previous by thread: Re: Looking for a freeware command line tool
- Next by thread: changing administrator password
- Index(es):