Menu ▾ ▴

#2724 CLI fails on passwordless .Zip file that the GUI can extract & test without issue

None
closed-rejected
nobody
None
5
2026-11-06
2026-10-28
No

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):

  • root.txt
  • First
  • First\Second
  • First\nested_1.txt
  • First\Second\Third
  • First\Second\Third\Fourth
  • First\Second\Third\Fourth\nested_4.txt
1 Attachments

Related

Bugs: #2724

Discussion

  • AlexS

    AlexS - 2026-10-29

    7zr does not support the zip format. Watch 7zr i

     

    Last edit: AlexS 2026-10-29
  • Igor Pavlov

    Igor Pavlov - 2026-11-06
    • status: open --> closed-rejected
    • Group: -->
     
    • Christian Blackburn

      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:

      • status: open --> closed-rejected
      • Group: -->
      • Comment:

      7zr.exe doesn't support zip format.


      [bugs:#2724][https://sourceforge.net/p/sevenzip/bugs/2724/] CLI fails on passwordless .Zip file that the GUI can extract & test without issue

      Status: closed-rejected
      Group:
      Created: Wed Oct 28, 2026 07:51 PM UTC by Christian Blackburn
      Last Updated: Thu Oct 29, 2026 03:49 AM UTC
      Owner: nobody
      Attachments:

      • zip_files_test.zip[https://sourceforge.net/p/sevenzip/bugs/2724/attachment/zip_files_test.zip] (sourceforge.net) (1.1 kB; application/zip)

      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):

      • root.txt
      • First
      • First\Second
      • First\nested_1.txt
      • First\Second\Third
      • First\Second\Third\Fourth
      • First\Second\Third\Fourth\nested_4.txt

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/sevenzip/bugs/2724/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #2724

  • Igor Pavlov

    Igor Pavlov - 2026-11-06

    7zr.exe doesn't support zip format.

     

Log in to post a comment.