×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Adding comments to Zip files

Adding comments to Zip files

Adding comments to Zip files

(OP)
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?

RE: 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...

RE: Adding comments to Zip files

(OP)
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)

RE: Adding comments to Zip files

In this website
http://www.winzip.com/downcl.htm
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources