in reply to Re^2: Search windows folder for old files...
in thread Search windows folder for old files...

Unsure if any use, but if somebody comes across this again, the fix was simple, I just had to add...

chdir $directory or die $!;