XCOPY Command options

xcopy command used with option /d only compares the dates of the source and destination files. So if the dates are same it overlooks the time stamp of the files to determine which is newer. This results in the newer file with same date but later time stamp not being copied. This plays havoc while creating a backup because so many source files having the same date as destination files but later time stamps do not get copied. This results in a faulty backup.

Can some body please suggest a solution to this problem?

1 Answer

Try robocopy, it's like xcopy but more advanced

Ability to copy file data and attributes correctly, and to preserve original timestamps, as well as NTFS ACLs, owner information, and audit information using command line switches. (/COPYALL or /COPY:) Copying folder timestamps is also possible in later versions (/DCOPY:T).

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like