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.

There is a zip/unzip option in the context menu so is it accessible from the command line?

share|improve this question
add comment

3 Answers

Yes and no.

The yes:

rundll32.exe zipfldr.dll,RouteTheCall filename.zip

would open the file in the explorer as a "compressed folder" similar to clicking open a zip folder

The no:

There is no other entry point in zipfldr.dll that allows decompressing files directly from command line. I would suggest using the 7zip command utilities or unzip.exe as these are free (as in freedom as well as in beer)

share|improve this answer
add comment

If you already have Java JDK on your PC, and the bin directory is in your path (in most cases), you can use the command line:

C:\Program Files\Java\jdk1.7.0_45\bin>jar xf test.zip

Complete set of options for the jar tool available here.

Examples:

Extract jar file

jar x[v]f jarfile [inputfiles] [-Joption]
jar x[v] [inputfiles] [-Joption]

If you don't have JDK installed I would recommend installing 7-Zip, since it's very lightweight: http://www.7-zip.org/

Examples: http://www.dotnetperls.com/7-zip-examples

Source: http://stackoverflow.com/a/1021592/475876

share|improve this answer
add comment

No it doesn't by default, but check here to do it anyway: http://stahlworks.com/dev/index.php?tool=zipunzip

share|improve this answer
add comment

Your Answer

 
discard

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