Description

Changes the name of a specified file.



Attributes

Common

  • ContinueOnError - The Boolean value to specify whether to continue executing the next activities even if there is an error thrown on this activity.

Misc

  • DisplayName - Renames the activity.

  • FilePath - The path and filename of the original file.

  • NewFileName - The new name to rename the original file. The file path should no longer be included.


Example

  1. Add a File Rename activity inside a Sequence.
  2. In the File Path field, search for and then select the file that would be renamed by, first, clicking the browse button.
  3. In the New File Name field, write the new file name of the selected file. For this example, it would be "Robotic Process Automation.txt".



After the execution, the specified file should be renamed with the specified file name.