Created
January 13, 2019 21:21
-
-
Save slickplaid/2d2f456a9a5427fb9f7136cb35ccdbab to your computer and use it in GitHub Desktop.
Extract all compressed files, recursively in windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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