Solved

XCOPY vs. ROBOCOPY

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

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

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…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 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