Displaying the contents of a non-existent file with -so option doesn't...
A free file archiver for extremely high compression
Brought to you by:
ipavlov
I'm trying to report a bug against the 7-Zip CLI. Basically if you take any valid zip file and ask it to display a non-existent internal file, it provides an exit code of 0 (wrong) and gives an empty STDERR (also wrong).
Repro:
Result:
Exit code = 0, STDOUT/STDERR both empty.
Expected:
Exit code !=0, STDERR complains that it couldn't find a "no_file_by_this_name.txt" file inside the archive.
I should clarify this issue was encountered with 7zr.exe:
7-Zip (r) 26.05 (x86) : Igor Pavlov : Public domain : 2026-10-21