How to zip multiple folders to seperate zip files using 7Zip

How to zip multiple folders to seperate zip files using 7Zip

First of all install the open source free software called 7Zip from this link

Create a batch file on windows and copy this command into it.

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

Now save it and copy it to the folder where your required folders are.

just run it and it will zip all the folders to their respective zip files.

Leave a Comment

Scroll to Top