Help for this page

Select Code to Download


  1. or download this
    system("copy \\\$mach\\c$\\Pgm File\\Reso\\log\agent-dir.$mach\agnt-log C:\\reslog");
  2. or download this
    copy \$mach\cPgm File\Reso\log^Ggent-dir.opus\agnt-log C:\reslog
  3. or download this
    copy "\\opus\c$\Pgm File\Reso\log\agent-dir.opus\agnt-log" C:\reslog
  4. or download this
    "copy \"\\\\$mach\\c\$\\Pgm File\\Reso\\log\\agent-dir.$mach\\agnt-log\" C:\\reslog"
  5. or download this
    'copy "\\\\' . $mach . '\\c$\\Pgm File\\Reso\\log\\agent-dir.' . $mach . '\\agnt-log" C:\\reslog'
  6. or download this
    'copy "\\' . $mach . '\c$\Pgm File\Reso\log\agent-dir.' . $mach . '\agnt-log" C:\reslog'
  7. or download this
    copy "\opus\c$\Pgm File\Reso\log\agent-dir.opus\agnt-log" C:\reslog
  8. or download this
    'copy "\\\\' . $mach . '\c$\Pgm File\Reso\log\agent-dir.' . $mach . '\agnt-log" C:\reslog'
  9. or download this
    qq(copy "\\\\$mach\\c\$\\Pgm File\\Reso\\log\\agent-dir.$mach\\agnt-log" C:\\reslog)
  10. or download this
    my $command= <<'COPY';
    copy "\\$mach\c$\Pgm File\Reso\log\agent-dir.$mach\agnt-log" C:\reslog
    COPY
    
  11. or download this
    my $command= <<'COPY';
    copy "\\$mach\c$\Pgm File\Reso\log\agent-dir.$mach\agnt-log" C:\reslog
    COPY
    chomp $command;
    $command =~ s/\$mach/$mach/g;
    system $command;
    
  12. or download this
    my $source=
        "//$mach/c\$/Pgm File/Reso/log/agent-dir.$mach/agnt-log";
    my $command= qq(copy "$source" C:/reslog);
    $command =~ s#/#\\#g;
    system $command;