Solved

Winzip Command Line Add Comment

Posted on 2009-05-12
5
1,099 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
  • 2
  • 2
5 Comments
 
LVL 30

Expert Comment

by:Wayne Barron
Comment Utility
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 30

Expert Comment

by:Wayne Barron
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now