Rename file and send in mail as attachment

Hello all,
I’m stuck with an activity that I have task to download some 4 files from a web site and rename them to today date and send them in mail body. I am done with downloading the file and attaching them in mail body but before that I need to rename those files so how can I do this after downloading the files into download folder.
NOTE: this script should work in other machine also so need to rename the file for universal macine

@sanjay_gowda please make a temp folder where you should download and then use "Move File Activity " to original folder with new name

1 Like

Hi @sanjay_gowda

Welcome to community

We can’t able add all the file with the Current Date Name (Today). In that case i have added the counter variable to increment

Filename → dd-MM-yyyy_1 (25-08-2022_1)

How about this XAML file

RenameFiles.xaml (7.2 KB)

image

Regards
Gokul

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