Created
July 12, 2022 07:41
-
-
Save Drunkar/4112dccbff200bbf1542a5ca0eeb14e7 to your computer and use it in GitHub Desktop.
このファイルが置かれたフォルダにある全てのフォルダを7zipを使ってzip化する
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
cd /D "%~dp0" | |
for /D %%G in ("*.*") do ( | |
echo %%~nxG | |
"C:\Program Files\7-Zip\7z.exe" a "%%~nxG.zip" "%%~nxG" | |
) | |
cmd /k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment