Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I receive a single zip folder with multiple zip folders inside it. Each individual zip folder contains one file. Is there a way to extract all of them in one step?

share|improve this question
1  
Which operating system? – Daniel Andersson Apr 27 '12 at 17:58

On Windows 7, Vista, XP, etc.

From the command line:

cd folder
for /f "usebackq" %i in (`dir *.7z /s/b`) do 7za x %i

From a batch file, double the % signs:

cd folder
for /f "usebackq" %%i in (`dir *.7z /s/b`) do (
    @echo extracting %%i
    7za x %%i
)
share|improve this answer
    
Beat me to it. +1 for you. This does require the command-line version of 7-Zip though. – user3463 Apr 27 '12 at 18:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .