I get this error: Usage: copy(FROM, TO , BUFFERSIZE) at C:\scripts\perl\GetLogFiles2.pl line 9. Does anyone know what i am doing wrong?#!D:\perl\bin\perl use File::Copy; $listFile = "list.txt"; open(LIST, $listFile) || die "Cant open $listFile : $!"; while(<LIST>) { copy("\\\\$_\\c$\\testtxt.txt,C:\\resologs,"); } close(LIST);
In reply to Re: Re: copying files with system()
by RayRay459
in thread copying files with system()
by RayRay459
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |