How to extract 7zip files using Uipath

How to extract 7zip.files

1 Like

Hi @Vishnu_Reddy1

Have a look on the video and thread

Regards
Gokul

1 Like

Hi Gokul that video is only extract ZIP files only

I want 7zip file extraction…

Hi @Vishnu_Reddy1

You can try with Balareva activity for zip/unzip file activity

Or

You can try with Extract/Unzip Files Activity

https://docs.uipath.com/activities/lang-fr/docs/extract-files

Regards
Gokul

1 Like

@Vishnu_Reddy1

Hello Vishnu,
one way to unpack 7z was as @moenk here wrote, use the Start Process activity with the 7z.exe command line version. Here an example:

image

Look at the commands and switches of 7z.exe CLI.

It is in no case advisable to use an external activity for Zip/Unzip (not 7Zip), because UiPath offers a build in one, but this support only Zip format, not 7z.

image

Best regards
Stefan

1 Like

Requirements: You must be install 7zip software on your machine.

I have made the script as attached file… You save it on local machine, edit it and then change the Unrar.txt into Unrar.bat

In script file, you can add any type of zip file you want to unzip ( such as: 7z )

And add “Start Process activity” as below picture to call the unrar.bat file.
Unrar.txt (185 Bytes)

image

Please give me full step s

Ofter Star process next step …?

@Vishnu_Reddy1

Hello Vishnu,
download and install 7Zip from 7-zip.org. Now you can use it in your UiPath workflow. My example as attachment.

Sequence.xaml (5.9 KB)

It is very easy, try it.

All you have to do is to set the correct path to 7z.exe and to set the filename, which you want to unpack. It will unpack all files in your project folder. If you want to use another target use the switch -o , to set the output directory.
Best regards
Stefan

hi stefan i am not able to open the flow…plese advise me on the issue…

How to extract 7zip file please help me …

@Vishnu_Reddy1

Hello Vishnu,
copy the XAML file into your project folder and after that you can drag and drop it from the project tab into your workflow.
Best regards
Stefan