The Archive namespace

Create and extract archived files and folders.

Function List

UnZip (filename string, destination string)
Extract a zip archive to the specified destination path.
Zip (filename string, sourcefiles List of string)
Creates a zip archive that contains the specified files and/or directories. If the destination zip file exists, the specified files and/or directories will be added to the existing zip archive.Files and/or directories specified that exist in the archive will be replaced.

Function Details

UnZip (filename string, destination string)
Extract a zip archive to the specified destination path.
Input Parameters
filename(string)
Source zip file.
destination(string)
The extraction destination.
Zip (filename string, sourcefiles List of string)
Creates a zip archive that contains the specified files and/or directories. If the destination zip file exists, the specified files and/or directories will be added to the existing zip archive.Files and/or directories specified that exist in the archive will be replaced.
Input Parameters
filename(string)
Destination zip file.
sourcefiles(List of string)
List of source files and/or directories.