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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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?
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.
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.
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.
Maybe in future.