activities
latest
false
UiPath logo, featuring letters U and I in white

Workflow activities

Last updated Feb 19, 2026

ExtractUnzipFiles

Extracts all the contents of a zip file archive to a specified folder.

Definition

Namespace: UiPath.Activities.System.API

Assembly: UiPath.System.Activities.Api (in UiPath.System.Activities.Api.dll)

Overloads

ExtractUnzipFiles(IResource)Extracts all the contents of a zip file archive.
ExtractUnzipFiles(IResource, String)Extracts all the contents of a zip file archive, at a specified destination folder.
ExtractUnzipFiles(IResource, String, Boolean, String, CodePages)Extracts all the contents of a zip file archive, at a specified destination folder, along with other configurations.

ExtractUnzipFiles(IResource)

Extracts all the contents of a zip file archive.

ILocalResource[] ExtractUnzipFiles(
    IResource file
)
ILocalResource[] ExtractUnzipFiles(
    IResource file
)

file IResource : The zip file from which to extract all files.

ExtractUnzipFiles(IResource, String)

Extracts all the contents of a zip file archive, at a specified destination folder.

ILocalResource[] ExtractUnzipFiles(
    IResource file,
    string destinationFolder
)
ILocalResource[] ExtractUnzipFiles(
    IResource file,
    string destinationFolder
)

file IResource : The zip file from which to extract all files.

destinationFolder String : Contents will be extracted to this folder.

ExtractUnzipFiles(IResource, String, Boolean, String, CodePages)

Extracts all the contents of a zip file archive, at a specified destination folder, along with other configurations.

ILocalResource[] ExtractUnzipFiles(
    IResource file,
    string destinationFolder,
    bool extractToADedicatedFolder,
    string password,
    CodePages codePage
)
ILocalResource[] ExtractUnzipFiles(
    IResource file,
    string destinationFolder,
    bool extractToADedicatedFolder,
    string password,
    CodePages codePage
)

file IResource : The zip file from which to extract all files.

destinationFolder String : Contents will be extracted to this folder.

extractToADedicatedFolder Boolean : The contents of the zip file are extracted to a folder with the zip file name that is created in the destination folder. If you don't input a value for this parameter, the contents are extracted directly to the destination folder.

password String : If the file is password protected, specify the required password.

codePage CodePages : Text encoding for file names.

Return value

ILocalResource[]

Reference to the folder containing the extracted content or the extracted files.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.