how to rename PDF in uipath
1 Like
Hi
we can use MOVE FILE activity
That is get the pdf files from a folder using a assign activity like this
arr_files = Directory.GetFiles(“yourfolderpath”,”*.pdf”)
Where arr_files is a variable of type array of string
—now use a FOR EACH activity and pass the above variable as input
—inside the loop use a MOVE FILE activity where in the path property mention as item.ToString
And in Destination property mention the
“Yourfolderpath\”+”your new Filename”+”.pdf”
Cheers @DhanashreeLokhande
Use Move File activity
Path : D:\ABC.pdf
Destination : D:\EDF.pdf
Regards,
Arivu
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.