How to rename pdf file name

Can anyone guide how to rename pdf file.Please reply if anyone knows

Try MoveFile Activity

1 Like

how to give dynamic path in destination.half of the name stored in variable and remaining is static text

check this post

And we have a .net builtin function, but no idea how to execute it now in UiPath.
Rename (string OldPath, string NewPath)
We can use Invoke code activity to execute the above line, but still looking some other activity to execute the code.

i was facing the same issue. i need to generate a different pdf file for each row in excel. how can i rename the top generated pdf and save its path into an excel column.

For suppose , I have 6 rows in a datatable .and for each row i generate a pdf into folder called “pdfs”.
i need to rename the “pdfs(0)” and push its path into existing column cell of datatable. please help

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
11:10 Delete files that are older than 2 weeks
14:40 Create a file or folder with dates inside
17:00 Trigger a process when the file is added to a folder
18:45 How to use the files start the process
20:30 Excel Application Scope use files

Cristian Negulescu