This is command for batch unzip all zip files into each respective folders name:
@echo off
for /F "delims=" %%I IN (' dir /b /s /a-d *.zip ') DO (
"c:\Program Files\7-Zip\7z.exe" x -y -o"%%~dpI\%%~nI" "%%I"
)
pause
This is command for batch zip all folders into each respective zips name:
for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a "%%X.zip" "%%X\"
No comments:
Post a Comment