How to Move Excel files into Today's Date folder in specific path

I want to move the excel file into today’s date folder in given path.

image

1 Like

Hi
We can do that with MOVE FILE activity where in the PATH property mention the file path of the excel and in the DESTINATION property mention as
“Yourfolderpath”+”\”+Now.ToString(“yyyy-MM-dd”)

Cheers @nm09011985

2 Likes

@nm09011985

You can use move file activity to move the files.

If you have a multiple files in a folder then follow steps:

Assign filesstr=directory.getfiles(“your folder path”,"*.xlsx")

Then use for each loop – type argument string

Then use move file activity inside move file source you can give it as item and destination is your destination folder path.

Thanks,
Aman.

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