I use code based on the examples Client7z and Console with 7z.dll to extract, compress and delete files from/to 7z archives. Is these an example available to rename files in a 7z archive without using the latest 7z.exe that supports this feature.
Best regards
Walter Hahn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
newData newProps
0 0 - Copy data and properties from archive
0 1 - Copy data from archive, request new properties
1 0 - that combination is unused now
1 1 - Request new data and new properties
indexInArchive = -1 if there is no item in archive, or if it doesn't matter.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I use code based on the examples Client7z and Console with 7z.dll to extract, compress and delete files from/to 7z archives. Is these an example available to rename files in a 7z archive without using the latest 7z.exe that supports this feature.
Best regards
Walter Hahn
IArchiveUpdateCallback::GetUpdateItemInfo
newData newProps
0 0 - Copy data and properties from archive
0 1 - Copy data from archive, request new properties
1 0 - that combination is unused now
1 1 - Request new data and new properties
indexInArchive = -1 if there is no item in archive, or if it doesn't matter.
Hello Igor,
I checked your suggestion with success. Thank you for your fast advise.
Best regards,
Walter Hahn