Getting ERROR 5 (0x00000005) Creating Destination Directory while using robocopy to copy files

11,219

Is this to and from ntfs partitions?

If you are coping to FAT of EXT then add the /FFT parameter to assume FAT file times (2 second granularity) ext2/ext3 also uses 2 second granularity.

You could also try using the /COPY:DT parameter, by default robocopy copies the data, attributes and timestamp /COPY:DT will skip the attributes.

Also check your share permissions as well as your ntfs permissions

Share:
11,219
sam
Author by

sam

Updated on June 05, 2022

Comments

  • sam
    sam almost 2 years

    I am getting the above error while I am using robocopy command. I have given all possible permissions on both source and destination folders but still I am getting this error. Any idea how to fix this.

  • sam
    sam almost 13 years
    Yes, it is to and from ntfs and also shared the folder on network as well as full permissions on both source and destination folders. Still it is giving me same error. Also tried by using COPY:DT. but nothing seems to work.