Unzip archive
This scheduled task type allows unarchiving files and folders.
Zip file
Name of zip file.
Destination folder
Destination folder to unarchive files to.
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 unzip a single file, specify its folder, then specify its file name separately, in the Include files filed.
-
To unzip files without recursing down directories in the file system, specify "*\*.*" in the Exclude files field.
-
Zip file can include files larger than 4 GB.
-
Zip file can use UTF-8 paths, however, unzip is still non-Unicode, it supports UTF-8 filenames but only for the locale that is selected in the "Windows Control Panel\Clock, Language, and Region\Region\Administrative\Current language for non-Unicode programs" option.
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 - No error |
1 - Warning error |
2 - Error in zipfile |
3 - Severe error in zipfile |
4..8 - Insufficient memory |
9 - Zipfile not found |
10 - Bad or illegal parameters specified |
11 - No files found |
50 - Disk full |
51 - Unexpected EOF |
Categories: Manual, Shortcut type
Leave a Reply
You must be logged in to post a comment.