How to get a filename and then move that file to another folder with different name

The problem is this:

I suppose to download this two files and each month these files change name.
For example: BillDetails_AllDataExport_1_spend_3_2018 (this is for March) Next month is going to be BillDetails_AllDataExport_1_spend_4_2018.

How can I get the filename for each file and store those in string variables and then move the files to another folder with different names?

This is my xaml
get_file_and_Move.xaml (6.8 KB)

How can I do that?

Thank you

If all you’re wanting to do is move each file to a different folder, you can replace the path within the Move.

get_file_and_Move.xaml (7.4 KB)

1 Like