I am trying to set up mirroring with robocopy to backup directories to micro-sd cards, as:
ROBOCOPY "C:\test" "E:\test" /MIR /COPY:DT /Z /W:5
This works fine for the most part except for PDF files for some reason, halting the process and returning the error:
2019/05/24 16:13:41 ERROR 87 (0x00000057) Changing File Attributes
C:\test\test.pdf
The parameter is incorrect.
Copying manually is not issue, both volumes (C: NTFS, and E: exFAT have been checked to be ok) and I have tried to circumvent it with all kinds of flags with not resolution. Does anyone have any ideas what the issue could be?
I had this issue and in my case it was due to the timestamps on the source file being out of supported exFAT range (the year was something like 1701). Ended up fixing them with this.
User contributions licensed under CC BY-SA 3.0