Skip to main content

Rename Folder

Command description

Rename the specified folder and save the new folder path.

Command Input Parameters

input parametersInput parameter typeDescription
Folder PathstrPath of the folder to rename
Renamed Folder NamestrRenamed folder name

Command Output Parameters

Output parametersOutput parameter typeDescription
Renamed Folder PathstrFull path to the renamed folder

Edge Cases

  • The command reports an error if Folder Path does not exist or is not a 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 folder name. Use "Move Folder" to move a folder to another directory.