#!D:\perl\bin\perl -w $listFile = "list.txt"; open(LIST, $listFile) || die "Cant open $listFile : $!"; while(<LIST>) { system("copy \\\\$_\\c$\\Program Files\\Resonate\\logs\\agent-dir.$_ +\\agent-log C:\\resologs"); } close(LIST);
In reply to Re: copying files with system()
by c
in thread copying files with system()
by RayRay459
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |