Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding comments to Zip files

Status
Not open for further replies.

Stoker

Mechanical
Joined
Feb 21, 2001
Messages
204
Location
CA
I have created a VBA routine that creates some files (based on user input) and moves them into a zip archive. I would like to fill in the zip file comments field when the zip file is created, but can't get the syntax right. Does anyone know the correct syntax for adding comments to zip files?
 
Depends on how you create your zip file, do you use a special code from a to z or use a dll file or third party file like 7zip...
 
I am using WinZip command line instructions, which are called through the shell function in my VBA routine

ReturnValue = Shell("C:\Program Files\WinZip\WZZIP.exe -m MyZipFile.zip MyFile.txt", vbHide)
 
In this website
you can download winzip command line support. It is
an exe file. After download open with your winzip file
(not necessary the last version 9.0). Important open and
don't double click. When opened you can find the file
WZCLINE.HLP that contains all the attribute for
use in the command line.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top