I'm using robocopy to copy files from a CD drive to a SATA drive in USB-to-SATA enclosure. This is the command that I'm using:
FOR /F "tokens=6" %%a IN ('vol e:') DO SET var=%%a
md k:\%var%
robocopy e:\ k:\%var%\ /s /XO /R:1 /W:1
The files seem to be copying OK but I am getting alot of these errors:
ERROR 87 (0x00000057) Time-Stamping Destination Directory
...The parameter is incorrect.
Any idea what this means, and what might be causing it?
I'm running Windows 10 Pro 21H2