Skip to content

Instantly share code, notes, and snippets.

@jonocairns
Created November 9, 2016 09:05
Show Gist options
  • Save jonocairns/880a06c733b6a748e71de6b7008e8ec5 to your computer and use it in GitHub Desktop.
Save jonocairns/880a06c733b6a748e71de6b7008e8ec5 to your computer and use it in GitHub Desktop.
unzip all sub rars under folder with 7zip
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
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment