Reading files from two locations at same time

I am trying to read the list of files from two locations and compare both two files.

I have successfully created a bot to read one file from one location and another file from another location and compare both the files.

Am facing issue to read more than one file from two locations at the same time.

Hope these steps would help you resolve this

—use a assign activity like this
arr_files1 = Directory.GetFiles(“yourfolderpath”)

Where arr_files1 is a variable of type array of string

Similarly create another assign activity and mention for second file location Names arr_files2

Then use a FOR EACH activity and pass the variable arr_files1 as input and change the type argument as string in the property panel

—inside the loop while calling we can use another FOR EACH loop and call arr_files2 and compare them

Cheers @suvarnalaxmi

Hi @Palaniyappan

Am unable to get required output

For reference this is what i want.

1 1
2 2
3 3

But Am getting this