calling winzip from the command line

Status
Not open for further replies.

naijatexanstud

Beta member
Messages
5
I've always called Winzip from Win2K batch files with this command line string:

winzip32 -e -o C:\myfile.zip C:\MyDirectory

However, now I have some password-protected zip files to deal with, and I need to know what the arguments are for opening those. Somebody thought you should put a -s on the end and then the password, but that's not working for me, and I can't find it in the help files or with Googling around, so if you know, please help me out!
 
Never mind. It's easy (yeah, my boss told me the answer). If your password is 1234, you just put that after a -s (and there's no space between the -s and the password).

For example:

winzip32 -e -o -s1234 C:\myfile.zip C:\MyDirectory
 
Status
Not open for further replies.
Back
Top Bottom