Renames a file or directory on the local system.
Action ID: 9
Action Category:
File Operations
The full path to the directory or filename that you want to rename.
The new full path for the directory or file.
Value |
Simple Message |
Verbose Message |
0 (OK) |
|
|
1 |
Could not rename file. |
Invalid destination specified. |
2 |
Could not rename file. |
File not found. |
3 |
Could not rename file. |
Name contains invalid characters. |
4 |
Could not rename file. |
Destination already exists. |
In this example we will rename our old uninstall INI file from: "IRUNIN.INI" to "IRUNIN.BAK".
Source: %AppDir%\IRUNIN.INI
Destination: %AppDir%\IRUNIN.BAK
See Also: Alphabetical List of Actions, Categorical List of Actions, On Error tab