Wants to Rename Save attachment file

I wants to Rename the save attachment as attachment name like flight17072019 as every per hour it’s name changes in date tell me how too change the attachment name.

1 Like

Hi

yes of course we can use move file activity to save the file name we want
like this
pass the file path of the file in the source property
and in destination property
mention like
“yourfilepath\”+“yourfilename”+“_”+Now.ToString(ddMMyyyy)
+“.yourfileextension”

For more info on this

https://forum.uipath.com/t/how-to-rename-the-attachment-file-after-downloading-from-outlook/11886

Cheers @Shubham4323

1 Like

Hi @Shubham4323

Check this post

How to rename the attachment file after downloading from outlook.?

Thanks
Ashwin.S

Hi @Shubham4323,
Check This pic for renaming the attachment place this inside for loop.Capture

  1. the filepath is the destination path for move file, the path is the original path.
    2.The file path and the path are same folder path but except the file name.
    Cheers.
    Vashisht

Hello,
In this video I do a lot of stuff with Files (Chapter included) :

1:10 Download the file and Move the latest file to folders
4:30 Rename files with VB commands
6:00 Move files to do Rename
6:55 Delete files
8:15 Delete only PNG files
8:55 Delete all the files except PNG files
9:55 Move files
14:40 Create a file or folder with dates inside

Thanks,
Cristian Negulescu

1 Like

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