Command description
Renames the specified file and returns the new file path.
| input parameters | Input parameter type | Description |
|---|
| File Path | str | Path of the file to rename |
| New File Name | str | New filename, including filename and extension |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|
| New File Path | str | Renamed file path |
Edge Cases
- The command reports an error if File Path does not exist. If it points to a folder, use "Rename Folder".
- Renaming occurs within the same parent directory. If the new path already exists, the command reports an error and does not overwrite it.
Generation Notes
- Change only the file name. Use "Move Files" to move files to another directory.