Menu

ZIP file comments

2009-03-18
2012-12-08
  • Maude Heath

    Maude Heath - 2009-03-18

    Doesn't seem to be any way to set the comment in a ZIP (or code to support it).  Have I missed something?

    Reads comments put there by WinZIP or whatever OK.

     
    • Elias Fotinis

      Elias Fotinis - 2009-03-19

      You can do it by selecting an archive and pressing Ctrl-Z.

      On a side note: is there a way to do this from the command line, when creating or updating an archive?

       
      • Maude Heath

        Maude Heath - 2009-03-19

        That just creates a "descript.ion" file.  It'll do that for non-archive files too.  There's a secondary NTFS stream for that sort of thing (which is what right-click properties->summary shows), creating another file like that is just plain horrible.  No doubt yet another compromise for XINU 'portability' just like the shafted COM interfacing.

        What I'm after is an interface to put a comment inside the ZIP in the normal way per the spec.  As far as I can see 7z has no interface for doing this, ISetProperties only sets the compression parameters.  Nothing in 7z-FM will let you set a ZIP comment although it will read and display one put there by WinZip etc. if you open it and use the Info button.

         
    • szfong

      szfong - 2009-03-20

      I'm also interested, w/ PKZip I can add archive comments AND comments for EACH individual files.  I wonder how this is accoomplished using 7-Zip.

       
    • Maude Heath

      Maude Heath - 2009-03-26

      Igor,

      Are you likely to fix this?  Comments on individual files and an archive itself are a really useful feature.

      Currently both can be retrieved where set by other archivers but cannot set using 7z.

       
      • Igor Pavlov

        Igor Pavlov - 2009-03-27

        Maybe in future.

         

Log in to post a comment.

Auth0 Logo