?
Solved

Winzip Command Line Add Comment

Posted on 2009-05-12
5
Medium Priority
?
1,169 Views
Last Modified: 2013-12-01
I want to add a comment to a zip file, using the command line interfact to Winzip (wzzip).  The docs show an example of:

wzzip -c d:\temp\test.zip

The problem is that I don't see how one can add the comment directly from the command line.  If I put text in quotes after the -c parameter, I get an error.  How is this supposed to work?
0
Comment
Question by:exclamationsoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24363919
try this

C:\Program Files\WinZip>d:\Zippers\test.zip -c hello world, I have arrived

(Substitute your directory structure, for some reason mine will not run unless I do it like this.)

Carrzkiss
0
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24363995
go it
wzzip d:\temp\test.zip -c

This will involke the [New Comment for....]
Then type in your inforamtion and press enter.
And the file is updated. (Though I do not see it personally myself in the file.
There is no new comment, but it states that it is [Updating Zip file]

hth
Carrzkiss
0
 
LVL 8

Expert Comment

by:thetmanvn
ID: 24364030
c:\Program Files\WinZip>WZZIP c:\test.zip -c
WinZip(R) Command Line Support Add-On Version 3.0 (Build 8252)
Copyright (c) 1991-2008 WinZip International LLC - All Rights Reserved

New comment for a.txt:
 New Comment

Updating Zip file c:\test.zip

c:\Program Files\WinZip>
0
 
LVL 2

Author Comment

by:exclamationsoft
ID: 24364140
What I'm really looking for is adding a comment, from the command line.  I don't want the Winzip window to open at all since this is for an automated process.
 1. wzzip d:\temp\test.zip -c
Opens the Winzip window
2. :\Program Files\WinZip>WZZIP c:\test.zip -c
Prompts for a comment from the command line
These solutions are fine, but I just want to have the comment ready to go and in a batch file for automation.
 
0
 
LVL 2

Accepted Solution

by:
exclamationsoft earned 0 total points
ID: 24365058
Direct from WinZip support:
...Please note that the -c switch will add file specific comments while the -z switch will add a Zip file level comment. The former is only visible if one views the detailed properties of a Zip file (Actions, Test, and check the box) while the latter can be easily viewed when one opens a Zip file with the user interface.
 
If you, then, use a command line of wzzip -z d:\temp\test.zip, the command prompt would then require you to input your comment...

0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question