in reply to Moving files and directories
Just out of curiosity, what happens when you pass an actual file? Eg.
And I would guess that you need to read each size of your files in your directory and then add them up.my $inDir = "M:\AllFiles\test.txt"; my $outDir = "n:\allFiles\abc.txt";
In Section
Seekers of Perl Wisdom