Create Zip File

This Automation Manager object creates a compressed file (*.zip) from a folder or file.

Privileges

Normal

Input Parameters

Name Type Required Description
Zip File String Yes The name of the zip file to be created.
Files String Yes The name of the file or folder to be included in the zip file.
Overwrite Zip File if it exists? Boolean Yes If this is checked, the object will overwrite the existing zip file and create a new one over it, if it already exists. If it is unchecked, and a zipfile with the name/path exists, the object will not create a new zipfile and no action will be performed.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.
Result String String Object execution error details.

Example Input Parameters

Name Type Required Example
Zip File Name String Yes C:\folder1\folder2.zip
Files String Yes C:\folder3