Solved

XCOPY vs. ROBOCOPY

Posted on 2007-03-26
2
3,208 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 68

Accepted Solution

by:
Qlemo earned 25 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 25 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

My previous article  (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html)detailed one possible method to get SCCM 2007 installed an…
On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now