What error message does the COPY command print?
It is much easier for the program to figure out why things failed if you do the copying from within Perl instead. The return value from system rarely says more than "the command failed" and if the command didn't print an error message, all you can do is guess.
I'd use Win32API::File's CopyFile() or the portable File::Copy module.
- tye
In reply to Re: Win32: Weird file copy failure using system (errors)
by tye
in thread Win32: Weird file copy failure using system
by richz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |