setcurrentobject (set, cd)
Description
Use setcurrentobject
to
navigate the object tree.
This command sets the currently selected
object in the object tree. The object must be a valid child of the
current object. To view the children of the current object, use the list (ls, dir)
command.
Select the object by name or ID.
Syntax
setcurrentobject {name|id object id}
name
: Name of the child to set. Required when navigating the tree by object name.id
: Literal. Select by object ID.object id
: Numerical ID of the child to set. Required when selecting by ID.
Examples
- To navigate from the root to the Application whose ID is equal
to 1:
AllApplications>> SetCurrentObject applications AllApplications>> CD id 1 AllApplications\Applications>>
- To back up one level:
AllApplications\Applications>> CD ..
- To return to the top (root) of the Object Tree:
AllApplications\Applications>> Set /
or
AllApplications\Applications>> Set \