使用7zip批量压缩当前文件夹

for /d %%i in (*) do "?:\Program Files\7-Zip\7z.exe" a "%%i.zip" "%%i\" -mx7

点赞