CLI fails on passwordless .Zip file that the GUI can extract & test without issue
A free file archiver for extremely high compression
Brought to you by:
ipavlov
I have a zip file that I made in 7-Zip's GUI (7zFM.exe) that I'm unable to list the contents of using 7-Zip's CLI (7zr.exe). To be sure nothing happened to the zip I ran test and extract in the GUI and they both worked without issue. This archive is not password protected, so there doesn't seem to be any obvious reason for this failure.
Repro:
C:...>7zr l zip_files_test.zip
Result:
7-Zip (r) 26.05 (x86) : Igor Pavlov : Public domain : 2026-10-21
Scanning the drive for archives:
1 file, 1065 bytes (2 KiB)
Listing archive: zip_files_test.zip
ERROR: zip_files_test.zip : Cannot open the file as archive
Errors: 1
Expected:
The following files/folders should have been listed (any path that doesn't end in .txt is a folder):
7zr does not support the zip format. Watch 7zr i
Last edit: AlexS 2026-10-29
Hi Igor,
Thanks for letting me know. Would you please consider adding this to your FAQ and adjusting the error message to "CLI doesn't support zip files"?
Thanks,
Christian Blackburn
Software Engineer
Nov 6, 2026 1:07:13 AM Igor Pavlov ipavlov@users.sourceforge.net:
Related
Bugs:
#27247zr.exe doesn't support zip format.