Unzip excel file in a path

Hi ,

I have tried Unzip excel file using Invoke method. I cannot find the system.Io.compression.zipfile. Eventhough System.io.compression libraries are imported.

Can anyone help me on this activity.

Thanks.

Hi, use invoke C# for this task. link

Hi @Piraisoodan_J

Try this activity provided by @balupad14

BalaReva.Externals.Activities

Hope it helps you

Regards

Nived N :robot:

Happy Automation :slight_smile::slight_smile::slight_smile::slight_smile:

1 Like

Thank you @NIVED_NAMBIAR,

Here is the video presentation.

Thank you
Balamurugan.S

1 Like

Without using external libraries. I there any way by using Uipath libraries to solve this activity.

Hi @Piraisoodan_J yes u can do it without help of external libraries
I tried using powershell

I tried Compress-Archive cmdlet for zipping the files using invoke powershell activity in uipath

Check this workflow
Main(Autosaved).xaml (7.5 KB)

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.archive/compress-archive?view=powershell-7

Hope it helps you

Mark it as solution if u got answered to ur query

Regards

Nived N

Happy Automation

When using your workflow, i given Path: zipfile and destinationPath: path passing through parameters.

It doesn’t work. In the destinationpath cannot see any file.

Can u share screenshot of ur code?

Hi @Piraisoodan_J

Path :. Provide the path of file which is to be zipped

Destination Path : provide the path of zip file which to be created

I want to unzip a file which is already in the path.

zip to unzip.

Hi @Piraisoodan_J sorry for the wrong answer

Please check this

I had used unzip method in powershell and invoke in uipath

workflow Main.xaml (7.7 KB)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.