exclamationsoft
asked on
Winzip Command Line Add Comment
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?
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?
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
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
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>
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>
ASKER
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
C:\Program Files\WinZip>d:\Zippers\te
(Substitute your directory structure, for some reason mine will not run unless I do it like this.)
Carrzkiss