in reply to Use file variables to copy and rename file.
The only explanation for the above error that I can think of is that the directory C:\testfiles\ does not exist or is read-only and therefore the script cannot copy files there.
Of course there might be some other explanation that someone will point out, but that's the only thing I can think of.
Hope this helps
|
---|
In Section
Seekers of Perl Wisdom