Change the working component to the path specified. You can use wildcard characters like
? in the path patterns.
The following all go to
/project1 in the default TouchDesigner:
cc /project1 cc /pr* cc /project?
From there you can run any command on nodes in that component: