LINK returns an exit code (also called return code or error code) that you can use to control the operation of batch files or makefiles.
| Code | Meaning |
| 0 | No error. |
| 2 | Program error. Commands or files given as input to the linker produced the error. |
| 4 | System error. The linker: |
| Ran out of space on output files. | |
| Was unable to reopen the temporary file. | |
| Experienced an internal error. | |
| Was interrupted by the user. |