Link to home
Start Free TrialLog in
Avatar of Evan Cutler
Evan CutlerFlag for United States of America

asked on

windows command line unzip function

Greetings,
I have a folder of zip files.  zip1.zip, zip2.zip
I need, in a single windows os command, to unzip using the unzip command, extract the contents of all the zip files into their respective folders with the zip filename as the folder name.

Similiar to when winzip has "extract to folders as filenames" option in windows, but from command line.

Thanks,
Avatar of Nathan Riley
Nathan Riley
Flag of United States of America image

You would need to install a 3rd party unzipper to do this as far as I know.  The unzipping is a function of zipfldr.dll I'm almost positive you can't pass variables to it.

You could try this unzipper: http://www.memecode.com/docs/winzip.html
Install 7-zip. It's free and available here: http://www.7-zip.org/
You cannot extract zip files by command line just with Windows. There is no such function to the best of my knowledge.

WinZip can do this, however. There is a free add-on to WinZip that provided command line functionality.


... Thinkpads_User
ASKER CERTIFIED SOLUTION
Avatar of Paul Tomasi
Paul Tomasi
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Evan Cutler

ASKER

I didn't want to do this in batch, but I ended up going that way.
Thanks.
Thank you