Robocopy

Robocopy source destination /e /zb /copyall /r:0 /w:0 /log:logfilepath

 

Robocopy \\spstudent\d$\StudentHomeDrives\Year23 R:\ /e /zb /copyall /r:0 /w:0 /log:c:\Temp\Kieren\robolog_Year23.log

 

/e

Copies subdirectories. Note that this option includes empty directories.

/zb

Users Restart mode. If access is denied, this option uses Backup mode.

/copyall

Copies all file information (Equivalent to /copy:DATSOU).

/r

Specifies the number of retries on failed copies. The default value of /v is 1,000,000.

/w

Specifies the wait time between retires, in seconds. The default value of /V is 30. (Wait time 30 seconds).