[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Winzip Command Line Add Comment

Posted on 2009-05-12
5
Medium Priority
?
1,183 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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

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

Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
A while back when OPSMGR 2012 was released we were very excited about getting it into our environment and upgrading our 2007 implementation,  we started our planning and we then proceeded with our implementation. All went as planned & our system …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
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…

650 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