Skip to content

Instantly share code, notes, and snippets.

@slickplaid
Created January 13, 2019 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slickplaid/2d2f456a9a5427fb9f7136cb35ccdbab to your computer and use it in GitHub Desktop.
Save slickplaid/2d2f456a9a5427fb9f7136cb35ccdbab to your computer and use it in GitHub Desktop.
Extract all compressed files, recursively in windows
FOR /D /r %%F in ("*") DO (
pushd %CD%
cd %%F
FOR %%X in (*.rar *.zip *.001) DO (
"C:\Program Files\7-zip\7z.exe" x -aos "%%X"
)
popd
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment