Skip to content

Instantly share code, notes, and snippets.

@fuzzmz
Created June 7, 2012 21:52
Show Gist options
  • Save fuzzmz/2891794 to your computer and use it in GitHub Desktop.
Save fuzzmz/2891794 to your computer and use it in GitHub Desktop.
Recursively extract archives in nested folders with 7-zip
FOR /D /r %%F in ("*") DO (
pushd %CD%
cd %%F
FOR %%X in (*.rar *.zip) DO (
"C:\Program Files\7-zip\7z.exe" x %%X
)
popd
)
@Tantrumus
Copy link

Thanks for this 5 years later..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment