How to unzip a file using the command line?

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

jar xf test.zip

or if not in your path:

C:\Java\jdk1.6.0_03\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]

You could use :

http://membrane.com/synapse/library/pkunzip.html

or

7zip: http://www.7-zip.org/download.html

Free byte zip: http://www.freebyte.com/fbzip/

or infozip: http://infozip.sourceforge.net/

Tags:

Cmd

Zip