# Archive

## Available Treatments

These are the treatments currently provided by the "Archive" treatment group:

<table><thead><tr><th width="245">Treatment</th><th width="223">Arguments</th><th>Description</th></tr></thead><tbody><tr><td>archive.extract</td><td>["path", "to_path"]</td><td>Extracts an archive at given "path" to the "to_path".</td></tr></tbody></table>

<mark style="color:red;">The archive format must be supported by Repository Manager, and have the correct file extension for the format.</mark>

For list of supported archive formats:

{% content-ref url="/pages/YuEgnTkmqhAZgEUuwG03" %}
[Supported Archive Formats](/repository-manager/supported-archive-formats.md)
{% endcontent-ref %}

### Example:

```json
{
    ...
    "treatments": [
        {
            "treatment": "archive.extract",
            "arguments": ["default-images.zip", "apps/wiigallery/images/"]
        },
    ],
    ...
}
```


---

# 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.oscwii.org/repository-manager/manifests/treatments/archive.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.
