set thedate=%date:~6,4%-%date:~3,2%-%date:~0,2%
set thetime=%time:~0,2%%time:~3,2%
set thelog=RoboCopyReport-%thedate%_%thetime%.txt
set source=I:\
set destination=Y:\

robocopy %source% %destination% /E /ZB /DCOPY:T /COPYALL /R:1 /W:1 /V /TEE /XD $Recycle.bin /XD “System Volume
Information” /LOG:%thelog%
pause