Hi, I want to move these excel into these respective folder please help.
Fine we can use this expression
Like
arr_filepath = Directory.GetFiles(“yourfolderpath”,”*.xlsx”)
Where arr_filepath is a array of string variable
Then we can use for each loop and pass the above variable as input and change the type argument as string
—inside the loop use MOVE file activity and in the source mention as item and in destination mention the folder we want to move
Cheers @balkishan
An typo in your expression @Palaniyappan
arr_filepath = Directory.GetFiles(“yourfolderpath”,”*.xlsx”)
We have to move these files to the above listed respective folder bro. So we need folder name also dynamic.
Like
Data_00000025 excel file will move into Data_00000025 Folder, same for all.
I didn’t understand the last part how it will move to the respective folder.
Thanks for the reply.
@Shubham_Varshney
Fine let’s do one thing
Let the source in the move file property be the same
To be simple in the destination part let’s mention like this
Split(item,”.”)(0).ToString
This will move to the specific folder
Cheers @balkishan
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.