Move file in Zip?

I have more zip file that include file excel 1 file/zip

image

I want to move file excel in zip to another folder.

Please guide me about it.

Hi

First we need to unzip files with the below activities
https://docs.uipath.com/activities/docs/extract-files

Then we can move the excel based files alone with

  1. Use a assign activity and mention like this
    out_file_array = Directory.Getfiles(“YOURFOLDERPATH”,"*.xlsx")

Where out_file_array is a variablen of type array of string

  1. Then use a FOR EACH activity and pass the above array variable as input and change the type argument as string

  2. Inside the loop use a MOVE FILE activity and mention the source property as item and mention the destination path as you need

Hope this would help you resolve this

cheers @Maria99

1 Like

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