This command will zip up files and create a zip archive file.
Description: Path to a directory, or path and filename of the directory or file to be added to a zip archive file.
Description: Path and filename of the Zip archive file to be created or to have files added to.
Parameter: compression (optional)
Type: integer (.NET Short)
Description: The zip file compression level to use - the higher the level, the longer the zip operation will take. If this parameter is not provided, a default value of 6 is used. The valid values are from 0 to 9.
Parameter: password (optional)
Description: If you wish the file(s) to be password protected in the archive, provide the password here. (Case sensitive)
Parameter: RemoveBase (optional)
Description: If False, the entire directory structure up to and including the source file or directory will be included in the zip archive. If this parameter is not provided, then by default it is True and the directory structure before the starting point of the source files will be removed.
Example: ZipWhat is C:\Program Files\HomeSeer\HTML\MyStuff (a directory) MyStuff has sub-directories Stuff1 and Stuff2.
With this parameter True, the resulting archive will have Stuff1\*.* and Stuff2\*.* in it.
With this parameter False, the resulting archive will have Program Files\HomeSeer\HTML\MyStuff\Stuff1\*.* and Program Files\HomeSeer\HTML\MyStuff\Stuff2\*.* in it.
Parameter: Flatten (optional)
Description: If True, the files will be put in the zip archive without any path information. Files that have the same filename but are in different subdirectories will result in only one of the files being left in the archive at the end of the Zip function.
Description: Returns the status of the zip function. An empty string indicates success, otherwise an error message is returned.