in reply to copying files with system()
#!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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: copying files with system()
by RayRay459 (Pilgrim) on Jul 20, 2001 at 01:26 UTC |