Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My friend wants to send me an encrypted zip file that he created using

$ zip -e file.zip file2.zip

Will I be able to open that with the native Windows XP pk zip implementation?

share|improve this question
    
Please complete your Question. With what exactly do you want to open it? –  Darokthar Feb 25 '11 at 10:21

2 Answers 2

Linux/Mac OS X

At first, you need the password to open it.

Try

unzip file.zip

It'll prompt password from you. Of course, you have to install unzip first, if it doesn't exist, if you want to extract that file using command line tools.

Windows

If Windows Explorer can't open your encrypted ZIP file, you can install for example 7Zip. Windows do have support, but not for all encryption variations commonly used for password protecting ZIP file. 7Zip includes support for many other formats too, and rather good command line tools, in addition to good Explorer integration. For executing from command line, use

7z.exe e file.zip

If you don't have your 7Zip installation on your path, use (for example)

"c:\Program Files\7-Zip\7z.exe" e file.zip

It'll prompt your password, and then extract files to your current folder. Run 7z.exe without parameters to see all switches and commands.

share|improve this answer
    
actually, i meant on windows xp. sorry for the confusion. see edit above. –  Jon Feb 25 '11 at 10:32
    
I updated my answer too. –  Olli Feb 25 '11 at 10:39
    
many thanks. :) –  Jon Feb 25 '11 at 10:41
    
@Jon: remember to accept helpful answers to your questions (this and another questions), see for example meta.stackexchange.com/questions/5234/… for instructions. –  Olli Feb 25 '11 at 10:46

Yes you will be able to:

enter image description here

share|improve this answer
2  
Beware that Windows Explorer only supports the ZIP 2.0 encryption algorithm, which is so weak that it's not worth using. –  grawity Feb 25 '11 at 13:03
    
Glad you pointed that out @grawity –  invert Feb 25 '11 at 22:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.