Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski 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
Feb 21, 2001
204
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?
 
Replies continue below

Recommended for you

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