File - Rename

Renames a file or folder on the user's system.

Action ID:
Action Category:
Action List Syntax:

30
File 
File.Rename (<<SOURCE>>,  <<DESTINATION>>)

Settings

Old filename:

The full path to the folder or filename that you want to rename.

New filename:

The new full path for the folder or file.

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

1

MSG_ERR_RENAME_FILE

MSG_ERR_RENAME_FILE
MSG_ERR_INVALID_DESTINATION
<<DESTINATION>>

2

MSG_ERR_RENAME_FILE

MSG_ERR_RENAME_FILE
MSG_ERR_FILE_NOT_FOUND
<<SOURCE>>

3

MSG_ERR_RENAME_FILE

MSG_ERR_RENAME_FILE
MSG_ERR_INVALID_CHARS
<<SOURCE>>
<<DESTINATION>>

4

MSG_ERR_RENAME_FILE

MSG_ERR_RENAME_FILE
MSG_ERR_DESTINATION_EXISTS
<<DESTINATION>>

Examples

None