Skip to main content

Rename File

Changes the name of a file.

Category: File & Folder Operations · Group: Files · Activity name: FileRename

The FileRename activity in the designer

Example​

outputVariable = FileRename("<document>", "<name>")

Inputs​

NameTypeRequiredDefaultDescription
File PathstringYesPath of the file to be renamed.
NamestringYesThe new name of the file.

Outputs​

NameTypeDescription
outputVariablestringSpecifies the name of the variable that will store the new file location after changing its name.