Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

How to zip a bunch of files separately with batch commands

How to zip a bunch of files separately with batch commands

You have lots of files on a directory and needs each one of them on a compressed zip file? Easy!

First, install 7-zip. It’s a nice piece of software, an fast and free compressor. It’s what I use. You can use other softwares if you know their DOS commands though.

Then, make a batch file with the following commands:

@echo off for /r %%X in (*) do ( "C:\Program Files\7-Zip\7z.exe" a "%%X.zip" "%%X"…

View On WordPress

Don't be the product, buy the product!

Schweinderl