Extract Archive
Command description
Extract an archive to the specified directory.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Archive File Path | str | Full path, for example C:\xx |
| Extraction Directory | str | Destination directory; a relative path is resolved under the current user's Documents/RPA directory |
| Extraction Password | str | Optional |
Command Output Parameters
None
Edge Cases
- The command reports an error if Archive File Path does not exist or is not a file.
- If Extraction Directory is empty, the archive is extracted beside the archive file. The directory is created automatically if it does not exist.
- The current extraction command enables overwrite confirmation, so existing files with the same name may be overwritten.
- An error is reported if the password is incorrect, the archive is damaged, or 7-Zip fails. Although the underlying method returns the extraction directory, this command has no output parameter, so the return value is not saved in the workflow.