Exit Codes from 7-Zip

7-Zip 18

Exit Codes from 7-Zip

7-Zip returns the following exit codes:

CodeMeaning
0No error
1Warning (Non fatal error(s)). For example, one or more files were locked by some other application, so they were not compressed.
2Fatal error
7Command line error
8Not enough memory for operation
255User stopped the process