The command moves a specified query from the previous_location to a new_location. If a query with the same name exists, the -force option can be used to overwrite it.
Moves an existing query to a specified location:
CQTOOL> move_query "Public Queries/My To Do List" "Private Queries"