I found a solution on the web.
The switch
Code: Select all
/A-:SH
Code: Select all
robocopy t:\ y:\%computername% /s /r:0 /w:0 /XJ /MIR /A-:SH
Chris
Code: Select all
/A-:SH
Code: Select all
robocopy t:\ y:\%computername% /s /r:0 /w:0 /XJ /MIR /A-:SH