# 7-Zip CLI Action

The **7-Zip CLI Action** node allows you to execute advanced 7-Zip command-line operations. It supports both archive creation and extraction and provides more control than the standard Archive and Extract nodes.

This node requires a valid path to an existing 7-Zip binary.

The node supports common 7-Zip operations such as **Add** (archive) and **Extract**. Additional behavior can be configured using 7-Zip switches, including: `ao`, `ax`, `i`, `m`, `o`, `p`, `r`, `scs`, `t`, `v`, `w`, `x`, `y`, and `ssw`.\
The `-y` switch (assume “Yes” on all prompts) is always applied automatically.

#### Input Fields

**Command**\
Select the operation to perform: **Add** (create/update an archive) or **Extract**.

**Switch List**\
Optional comma-separated list of 7-Zip switches and their parameters.

**Archive Path**\
Absolute path to the target archive file.

**Source Path**\
Used only with **Add**. Specifies the absolute path to the file or directory that should be archived.

<figure><img src="/files/OTnQi1Vf08tJIqko0Oso" alt="" width="348"><figcaption><p>7-Zip CLI Action</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.helmut.de/helmut4-releases/helmut4-components/streamdesigner/nodes/actions/file-and-folder-22/7-zip-3/7-zip-cli-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
