Copy/Move and Rename Downloaded File

Hi everyone,

So I am using the Wait for file download activity. I then need to rename the Downloaded File and copy or move it from the Downloads folder to another. Problem is if I rename it first then it doesn’t recognize it to move or copy it. If I copy or move it first it doesn’t find the file to rename it. What is the best way to solve this issue? Thank you!

Hi @Veskata follow the below screenshots


HI @Veskata

How about this expression

Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)+"\Desktop\Tool dump.xlsx"

Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) -> Will get the user profile dynamically

Check out the XAML file

RenameFile.xaml (9.6 KB)