Wednesday, 14 August 2013

How can I do a batch to create a zips with the content of every folder. only for Windows

How can I do a batch to create a zips with the content of every folder.
only for Windows

I have folders, and need compress the content of every folder. Every zip
compress only the content.
I found the batch code: for /d %%X in () do "c:\Program
Files\7-Zip\7z.exe" a "%%X.zip" "%%X\"*
This code create a file with a folder. I could create a zip with the
content at first level.
How I can do?

No comments:

Post a Comment