AddDirectory(DirectoryPath: String; [ArchPath: String = ""]): IZipArchiveEntry;
DirectoryPath. Path to the hard drive folder that must be added to archive.
ArchPath. Path to the archive folder, to which the DirectoryPath folder will be added.
The AddDirectory method adds the specified folder to archive with all contents.
The ArchPath parameter is not specified by default, the DirectoryPath folder is added to the archive root.
The example of use is given in description of the ZipArchive.Create constructor.
See also: