Skip to main content

Move Folder

Command description

Move the specified folder to the target folder and save the moved folder path.

Command Input Parameters

input parametersInput parameter typeDescription
Folder to MovestrFolder path to be moved
Destination FolderstrDestination folder path to move to

Command Output Parameters

Output parametersOutput parameter typeDescription
Moved Folder PathstrThe full path of the moved folder

Edge Cases

  • The command reports an error if Folder to Move does not exist or is not a folder.
  • The destination folder is created automatically if it does not exist. The command reports an error if the destination path is an existing file.
  • The command reports an error if a path with the same name already exists in the destination. It does not support overwriting or automatic renaming.

Generation Notes

  • Move an entire folder. The command fails if a folder with the same name already exists in the destination.