cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Command line to unzip files

davehaigh
11-Garnet

Command line to unzip files

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

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:
Announcements
Business Continuity with Creo: Learn more about it here.

Top Tags