ZIP pack
This scheduled task type allows archiving files and folders.
Source folder
Source folder to archive files.
Zip file
Name of zip file.
Additional info for file name
Select additional info that can be appended to the file name.
Include files
One or more file names separated by semicolon. Wildcards ("*" and "?") are accepted. Since wildcard characters normally match directory separators ("\"), this option may be used to include any files that are in subdirectories. For example,
"1.txt" - include 1.txt file only
"sf\1.txt" - include 1.txt file from "sf" subdirectory only
"*.txt" - include .txt files from all subdirectories
"sf\*.txt" - include .txt files from "sf" and all its subdirectories
"*\*.txt" - include .txt files from all subdirectories (not from main directory)
Exclude files
One or more file names separated by semicolon. Wildcards ("*" and "?") are accepted. Since wildcard characters normally match directory separators ("\"), this option may be used to exclude any files that are in subdirectories. For example,
"1.txt" - exclude 1.txt file only
"sf\1.txt" - exclude 1.txt file from "sf" subdirectory only
"*.txt" - exclude .txt files from all subdirectories
"sf\*.txt" - exclude .txt files from "sf" and all its subdirectories
"*\*.*" - exclude all subdirectories
Notes:
-
To zip a single file, specify its folder, then specify its file name separately, in the Include files field.
-
To zip files without recursing down directories in the file system, specify "*\*.*" in the Exclude files field.
-
The produced Zip file can include files larger than 4 GB.
-
The produced Zip file uses UTF-8 paths where possible.
Source file
Source file.
Zip file
Name of zip file.
Additional info for file name
Select additional info that can be appended to the file name.
File in archive
File in archive.
Compression level
Compression level from 0 (fastest) to 9 (best).
Password
Set password to zip file.
Returning codes
Error code: Error code of starting the command
Exit code: Error code of the operation
| Can be one of the following values: |
| 0 - Success |
| 2 - Unexpected end of zip file |
| 3 - Zip file structure error |
| 4 - Out of memory |
| 5 - Internal logic error |
| 6 - Entry too large to split, read, or write |
| 7 - Invalid comment format. |
| 8 - Zip test failed or out of memory. |
| 9 - User interrupt or termination. |
| 10 - Error using a temp file |
| 11 - Read or seek error |
| 12 - Nothing to do |
| 13 - Missing or empty zip file |
| 14 - Error writing to a file |
| 15 - Couldn't open to write |
| 16 - Bad command line. |
| 18 - Could not open a specified file to read |
| 19 - Error in compilation options |
| 20 - Zip64 not supported |
Categories: Manual, Shortcut type
Leave a Reply
You must be logged in to post a comment.