Skip to main content
13-Aquamarine
September 24, 2012
Question

Command line to unzip files

  • September 24, 2012
  • 1 reply
  • 698 views
I'm trying to create a script that will move some zipped files off of a DVD and unzip them.

I can't assume the computer will have winzip or 7zip. I want to do this with just standard Windows commands

If I right click on the zip file, I can pick open in Explorer, and it shows me the files inside the archive.

Any ideas how I do this from the command line?

David Haigh
Phone: 925-424-3931
Fax: 925-423-7496
Lawrence Livermore National Lab
7000 East Ave, L-362
Livermore, CA 94550

    1 reply

    1-Visitor
    September 25, 2012
    An interesting question...

    Amazingly, Microsoft has given no way to do this in an easy way from
    the command line. A big FAIL from Microsoft if you ask me.

    You can do an "explorer bla.zip" to open the file and view contents in
    explorer, but this will not extract the files.

    The best solution i've found on Google is to create a visual basic
    script and call that, like this: