Zip with exeption

Apr 23, 2014 at 4:58 PM
Edited Apr 23, 2014 at 4:59 PM
Hello,

I want to make a zip with exception! In fact, for example in this arbo:

Folder
->SubFolder 1
-->File1
-->File2
->SubFolder 2
-->File3
-->File4

I want to make a zip of the Folder but without the SubFolder2.
Can i make a zip with directly this exception or can i remove the subfolder2 when my zip will be created?

I find: ZipFile.RemoveEntry("SubFolder1/Fil1"); for a file but not the same for the SubFolder2.

Thx for help.
Loick.