XCOPY VS ROBOCOPY – Command Line Tool

XCOPY VS ROBOCOPY

XCOPY VS ROBOCOPY

XCOPY and ROBOCOPY both are the command line tools for copying multiple files or entire directory trees from one directory location to another and for copying files across a network.  XCOPY stands for extended copy and ROBOCOPY means “Robust File Copy“.

XCOPY is included in most versions of Windows and ROBOCOPY is available as part of the Windows Resource Kit starting with Windows NT 4.0. We can say that, ROBOCOPY replaces XCOPY with more switches/options.

XCOPY Syntax:

XCOPY <source folder location>  <destination folder location>  switches

Example:

XCOPY D:\sourcefolder E:\destinationfolder /s /e /i /h

ROBOCOPY Syntax:

ROBOCOPY <source folder location>  <destination folder location>  switches

Example:

ROBOCOPY D:\sourcefolder E:\destinationfolder /E

Note : More detail of XCOPY and ROBOCPY