How to create individual ZIP files from folders

The following steps will show how to create individual ZIP files from a collection of folders.

The process will create a ZIP file for each folder – naming the ZIP file the name of the folder.

For example, if you have a number of folders called:

  • example1
  • example2
  • example3

it will create example1.zip, example2.zip and example3.zip.

  1. The first thing you need to do, if you haven’t already, is move all the folders into a single location – making sure it only contains the folders you want to create zips from.
  2.  
  3. Now you need to create a new text file called zipall.cmd and copy in the following information
  4. for /d %%X in (*) do "%ProgramFiles%\7-Zip\7z.exe" a "%%X.zip" "%%X\"
  5. Now run the zipall.cmd file and the zip files will be created.

Help! How do I create a cmd file?

See How to create CMD files using Windows 10.

 

 

Reference: https://www.wikihow.com/Use-7Zip-to-Create-Multiple-Compressed-Folders-in-One-Go 

Was this article helpful?

Related Articles