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


#1

The problem is this:

I suppose to download this two files and each month these files change name.
41%20PM
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


#2

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)