RenameWindow
RenameWindow oldName, newName
The RenameWindow operation renames an existing window or subwindow from oldName to newName.
Parameters
oldName is the name of an existing window or subwindow.
When identifying a subwindow with oldName, see Subwindow Syntax for details on forming the window hierarchy.