Rename file extension for all files in folder

Hi All - I have a folder of files with an unusable extension (a third-party) saved these files like this. I need to rename these files as .pdf files so they can easily be opened. I have the sequence, for each file in folder path, rename file ‘current file (including path)’ to new name: using the notebook file tab - this was unsuccessful, it renamed the first file as ‘untitled document’ then would not move forward. Any suggestions?
A list of document files with names partially redacted, displayed in a file explorer window. (Captioned by AI)

Hi @audra.swope ,

Please check the attached xaml. Kindly let me know if it works.
RenameToPDF.xaml (8.0 KB)

Thanks,
Anjani

Hi @Anjani_Kapoor - I was unable to open the file, maybe because I am using StudioX and not Studio. Are you able to send me a screen shot or send the file in StudioX format?

sure, Please find below the screenshots:
The image shows a UiPath workflow assigning the array  the value from the method  using the Expression Editor. (Captioned by AI)

@Anjani_Kapoor This worked! thank you so much!

1 Like

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