?
Solved

XCOPY vs. ROBOCOPY

Posted on 2007-03-26
2
Medium Priority
?
3,446 Views
Last Modified: 2012-08-13
Hello,
This is just for my own bit of knowledge. From reading on some sites, these two seem to provide the same functions. When is it prudent to use one over the other?

Thanks.
0
Comment
Question by:punchie123
2 Comments
 
LVL 71

Accepted Solution

by:
Qlemo earned 100 total points
ID: 18794560
robocopy helps you to create a EXACT copy, while xcopy can only add or modify files, not delete. And, you can ask robocopy to give y list of only newer, older , same files, and has many other useful options like retry on error.
0
 
LVL 5

Assisted Solution

by:epochasset
epochasset earned 100 total points
ID: 18794573
Robocopy (robust copy) is an enhanced xcopy in a sense.  It provides a plethora of additional options, the most common of which are used to synch up one file system location with another (see the /MIR option, and /SEC for ACL data).  Aside from its expanded feature set over xcopy, robocopy has the ability to recover from errors in reading the file system (either bad blocks, or MFT corruption), in that it handles these (and allows you to set how many can occur before it skips the object its having a problem with), where xcopy will just die.

If you need to make sure a file system transfer (even from one machine to another over UNC) is as accurate as possible, use robocopy.exe, as while xcopy provides basic functionality, it will not recover from errors.  For example, if you are replacing a disk with bad blocks, you can use robocopy to transfer the contents that are accessible on the disk to another one, while if xcopy is used for the same thing, it will just die on the first bad block accessed or the first MFT object found that is corrupted and unreadable.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Loops Section Overview
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question