Follow the steps below to rename files in a File Set:
From within the Project Designer page, expand the File System folder in the Component Library, and then drag the Rename task to the Project Outline.
The fields on the Basic tab are optional when you are renaming files in a File Set. Select the
Advanced
tab.
On the Advanced tab of the Rename task, specify values for the following attributes:
File Name Prefix
The string to prepend to the file names.
Click the
Add
button, and then choose Add A File Set.
On the File Set element, Specify the following values:
Base Directory
Specify the starting directory for this File Set that contains the files to rename.
Click the
Save
button when finished. When the project executes, all the files in the C:\EmployeeData\Decrypted directory will prepended with "Procesed_".
If a
File Set is being used that contains multiple files from multiple file paths, only the file names will be modified and the directory names will stay the same.