Skip to content

Instantly share code, notes, and snippets.

@alexishida
Created April 16, 2024 02:09
Show Gist options
  • Save alexishida/65da45df6f4959a59ce3d612d05abbf8 to your computer and use it in GitHub Desktop.
Save alexishida/65da45df6f4959a59ce3d612d05abbf8 to your computer and use it in GitHub Desktop.
Zip multiple files into separate archives (Windows)
FOR %%i IN (*.*) DO "C:\Program Files\7-Zip\7z.exe" a "%%~ni.7z" "%%i"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment