in reply to Re: Re: Re: Reading entire subfolder tree into an arrayin thread Reading entire subfolder tree into an array
use File::Find; finddepth (\&RetrieveAll, "c:\\fpx"); sub RetrieveAll { push (@list,$File::Find::name,"\n"); } [download]
HTH
weini