MoveVariable
MoveVariable sourceVar, destDataFolderPath [newname ]
The MoveVariable operation removes the source numeric variable and places it in the specified location optionally with a new name.
Parameters
sourceVar can be just the name of a numeric variable in the current data folder, a partial path (relative to the current data folder) and variable name or an absolute path (starting from root) and variable name.
destDataFolderPath can be a partial path (relative to the current data folder) or an absolute path (starting from root).
Details
An error is issued if a variable or wave of the same name already exists at the destination.
Examples
MoveVariable :foo:v1,:bar: // Move variable v1 into data folder bar
MoveVariable :foo:v1,:bar:vv1 // Move variable v1 into bar with new name vv1