Jump to content

Recommended Posts

Posted

Hello,

I am trying to add the following parameters to Robocopy embedded in an the Autoit script below: /S /COPY:DT /R:4 /LOG+:"C:Script.log"
Any suggestions how to add it? 
Thanks in advance!

RunWait(@ComSpec & ' /k ' & 'robocopy.exe "'  & $SR1 & '" "' & $DS1 & '" ' & $PLC, @SystemDir)
  • Solution
Posted

You should just be able to add it to the Run func you provided.  What have you tried?
 

RunWait(@ComSpec & ' /k robocopy.exe "' & $SR1 & '" "' & $DS1 & '" ' & $PLC & ' /S /COPY:DT /R:4 /LOG+:"C:\Script.log"', @SystemDir)

(untested)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...