Operating System - Microsoft
1753477 Members
4909 Online
108794 Solutions
New Discussion

Re: Question zipping files

 
R.O.
Esteemed Contributor

Question zipping files

Hi,

I have a folder with hundreds of sub-folders. I want to create a zip file by each sub-folder, with the name of the sub-folder:
folder1 --> folder1.zip
. .
folderN --> folderN.zip

Does anybody how can I do this?

Regards,
"When you look into an abyss, the abyss also looks into you"
3 REPLIES 3
raven_8
Frequent Advisor

Re: Question zipping files

Assuming you have winzip installed on your machine, this is easy.

Just go to that folder, highlight the files/folders you want to zip, Right-click and mouse-over "winzip", and go to "add to Zip file". Select the directory you wan tthe .zip file to reside and you're done.
Alex Lavrov.
Honored Contributor

Re: Question zipping files

Winrar has a nice command line API. You can easily write batch file that uses this API and zips the folder.

http://www.rarlabs.com/
I don't give a damn for a man that can only spell a word one way. (M. Twain)
R.O.
Esteemed Contributor

Re: Question zipping files

Finally, I have found the solution using the winzip´s wzzip command line feature.

Regard
"When you look into an abyss, the abyss also looks into you"