Skip to content

Instantly share code, notes, and snippets.

@Fresh-Dev
Created February 10, 2016 19:20
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 Fresh-Dev/11eea6c3e5753e1a8a95 to your computer and use it in GitHub Desktop.
Save Fresh-Dev/11eea6c3e5753e1a8a95 to your computer and use it in GitHub Desktop.
Zips every subdirectory as a seperate archive file.
FOR /D %%i IN (%1)
DO "c:\Program Files (x86)\7-Zip\7z.exe" a "%%i.zip" "%%i\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment