Hello,
I use a post-job script and I got an error code … terminated with exit code 11” Is there a table with all the exit code definitions?
Thanks
Dieter
Hello,
I use a post-job script and I got an error code … terminated with exit code 11” Is there a table with all the exit code definitions?
Thanks
Dieter
Best answer by JMeixner
The return code from Robocopy is a bitmap, defined as follows:
| Hex | Decimal | Meaning if set |
| 0×00 | 0 | No errors occurred, and no copying was done. The source and destination directory trees are completely synchronized. |
| 0×01 | 1 | One or more files were copied successfully (that is, new files have arrived). |
| 0×02 | 2 | Some Extra files or directories were detected. No files were copied. Examine the output log for details. |
| 0×04 | 4 | Some Mismatched files or directories were detected. Examine the output log. Housekeeping might be required. |
| 0×08 | 8 | Some files or directories could not be copied (copy errors occurred and the retry limit was exceeded). Check these errors further. |
| 0×10 | 16 | Serious error. Robocopy did not copy any files. Either a usage error or an error due to insufficient access privileges on the source or destination directories. |
These can be combined, giving a few extra exit codes:
| Hex | Decimal | Meaning if set |
| 0x03 | 3 | (2+1) Some files were copied. Additional files were present. No failure was encountered. |
| 0x05 | 5 | (4+1) Some files were copied. Some files were mismatched. No failure was encountered. |
| 0x06 | 6 | (4+2) 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 |
| 0x07 | 7 | Files were copied, a file mismatch was present, and additional files were present. |
With all codes 8 and higher an error has occured
11 should than be 8+2+1 - so, some files or directories could not be copied...
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.