in reply to Remove Read-Only using xcopy

Oops, caught a typo. The first line of code should read:

xcopy d:\basedir\tools\ScriptA\bin\AS3.udb d:\basedir\working3\build\ScriptA\ /r /y /i

Replies are listed 'Best First'.
Re^2: Remove Read-Only using xcopy
by ikegami (Patriarch) on Jun 16, 2009 at 02:21 UTC
    $out_dir .= '\\' if substr($out_dir, -1) ne '\\'; system(xcopy => $und_dbm, $out_dir, '/r', '/y', '/i')

    Perl will add quotes around the args if necessary. Remember, the quotes aren't part of the argument, they are there to allow the shell to identify the arguments. That's not need when you use the multiple argument form of system since Perl uses the commas to identify the arguments.