2024-12-16 20:07:39 +02:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
setlocal enabledelayedexpansion
|
2024-12-16 20:00:39 +02:00
|
|
|
FOR /d %%i IN ("*") DO (
|
|
|
|
echo Packing %%i
|
|
|
|
rem "C:\Program Files\7-Zip\7z.exe" a "%%i.zip" ".\%%i\*" -m0=LZMA
|
2024-12-16 20:07:39 +02:00
|
|
|
rem "C:\Program Files\7-Zip-Zstandard\7za.exe" a "%%i.zip" ".\%%i\*" -m0=Zstd
|
2024-12-16 20:00:39 +02:00
|
|
|
"C:\Program Files\7-Zip\7z.exe" a "%%i.zip" ".\%%i\*"
|
2024-12-16 20:07:39 +02:00
|
|
|
if !errorlevel! neq 0 exit /b !errorlevel!
|
|
|
|
|
|
|
|
cls
|
2024-12-16 20:00:39 +02:00
|
|
|
)
|
|
|
|
|
2024-12-16 20:07:39 +02:00
|
|
|
pause
|