Return codes that are used by the Robocopy utility in Windows Server 2008

Return codes that are used by the Robocopy utility in Windows Server 2008

Article ID : 954404
Last Review : July 11, 2008
Revision : 1.0

INTRODUCTION

This article discusses the return codes that are used by the Robocopy utility in Windows Server 2008.

MORE INFORMATION

The following table lists and describes the return codes that are used by the Robocopy utility.

Value Description
0 No files were copied. No failure was encountered. No files were mismatched. The files already exist in the destination directory; therefore, the copy operation was skipped.
1 All files were copied successfully.
2 There are some additional files in the destination directory that are not present in the source directory. No files were copied.
3 Some files were copied. Additional files were present. No failure was encountered.
5 Some files were copied. Some files were mismatched. No failure was encountered.
6 Additional files and mismatched files exist. No files were copied and no failures were encountered. This means that the files already exist in the destination directory.
7 Files were copied, a file mismatch was present, and additional files were present.
8 Several files did not copy.

Note Any value greater than 8 indicates that there was at least one failure during the copy operation.

For more information about how to use the Robocopy utility, open a command prompt, type the following command, and then press ENTER:

Robocopy /?

APPLIES TO
• Windows Server 2008 Datacenter without Hyper-V
• Windows Server 2008 Enterprise without Hyper-V
• Windows Server 2008 for Itanium-Based Systems
• Windows Server 2008 Standard without Hyper-V
• Windows Server 2008 Datacenter
• Windows Server 2008 Enterprise
• Windows Server 2008 Standard

Back to the top

Keywords: 
kbexpertiseinter kbhowto kbinfo KB954404

 

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image