Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.