calling winzip from the command line - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 08-10-2004, 05:29 PM   #1 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 5
Default calling winzip from the command line

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!
__________________

naijatexanstud is offline  
Old 08-10-2004, 05:35 PM   #2 (permalink)
Ultra Techie
 
Join Date: Mar 2004
Posts: 807
Default

Sounds like a question for our Emily. Unforutanately, I think she's still at bandcamp.
__________________

Lone Wolf is offline  
Old 08-10-2004, 06:12 PM   #3 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 5
Default

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
naijatexanstud is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 03:31 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.