How to include the parent folder in the ZIP?

Jan 12, 2010 at 12:12 PM

Hi, I use the following coding to

            SevenZip.SevenZipCompressor com = new SevenZipCompressor();

            com.ArchiveFormat = OutArchiveFormat.Zip;

            com.CompressDirectory(parentFolder, parentFolder + ".zip");

Result: contains all the things of parentFolder.

Question: How can I get which contains first the folder parentFolder, in the folder are the things??