Skip to content

Compress file(s) or folder(s)

Function Description

TIP

Used to compress files/folders

Compress file(s) or folder(s)

Configuration Item Description

General

Command Input

  • File(s)/folder to compressstring: Enter or select the path of the file(s)/folder to compress, separate multiple paths with '|'

  • Passwordstring: Enter a password; leave blank if no password is set

  • Compression methodInteger: Set the compression level

  • Save compressed file tostring: Enter the save path for the compressed file (including file extension), supporting common compression formats such as zip, rar, 7z, etc.

Command Output

No output for the current command

Advanced

  • Delay Before(milliseconds)Integer: The waiting time before instruction execution

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None