Hi! I want to know how to rename files from a folder using “For each file in a folder” activity and using “Rename File” inside the loop “For each file in a folder”. ¿Is it possible? Thanks.
Welcome to the community
It is possible…
In the rename folder activity
Use currentFile.FullName in the file field
And in new name field …provide the new name…but make sure to use a unique name like either a counter or something
Cheers
1 Like
Hi @Sergio_Vargas
Yes, Try This once
- Configure the “For Each File in a Folder” activity to specify the folder path you want to work with.
- Inside the loop, drag and drop a “Rename File” activity.
- Configure the “Rename File” activity with the source file path and the new file name.
- Ensure that you place the “Rename File” activity inside the loop, so it iterates through each file in the folder and renames them one by one.
- You can use variables or expressions to generate new file names dynamically, if needed.
Thank you
HI @Sergio_Vargas ,
You need rename multiple files?
You can assign new name each loop
regards