How to zip directories as well as files?

Perryg114

Senior member
Jan 22, 2001
768
4
81
I have messed with WinZip and I have not figured out how to make it zip a file with the entire directory structure in tacked. Does anyone have any suggestions?

Perry
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
You can select the directory from the parent directory and zip it.

Also, in the WinZip UI, you have an option checkbox to use folder names
 

johnny.dacu

Member
Jul 6, 2010
54
0
0
Try using total commander archive tool. It has more options like.. recursive archive or self extracting, or to create separate archive per file/folder
 

Gooberlx2

Lifer
May 4, 2001
15,381
6
91
I just use the built in zip capability within Windows. Right-click-->send to--> compressed (zipped) folder. Preserves files and folder structure inside the zipfile.

I think it fails if there are empty directories though (which seems stupid to me). I s'pose there might be other limitations too, like number of files/folder or ultimate zipfile size...but I dunno what they are. It's not something I use very often.
 
Last edited:

Perryg114

Senior member
Jan 22, 2001
768
4
81
I did not know you could zip with a right click on the directory. That worked.

Thanks

Perry
 

Fayd

Diamond Member
Jun 28, 2001
7,970
2
76
www.manwhoring.com
7zip is better.

i use a batch file to zip up folders including all their sub-structures.

Code:
for /D &#37;&#37;F in (*), do ( 
"C:\Program Files\7-Zip\7za.exe" a -tzip "%%~nF.zip" "%%~fF"
 )
pause

that zips up every folder in the working directory into its own zip file. i use it a lot for keeping my manga collection in order >_<

edit: stupid anandtech crappy handling of percent signs. the &#37;%F is just supposed to be 2x percent signs and a capital F.
 
Last edited: