CD
Return to Introduction  Previous page  Next page
Sets the current Project or Folder

Syntax

tc cd [TC Object] [-O] [-T] [-Y] [-?]  

Examples
 
Make project Test Project current:

tc cd "//Test Project"  

Make folder //Test Project/Source/Units current:

tc cd "//Test Project/Source/Units"  

Moves up to the parent of the current object:
 
tc cd ..  

The following table describes the command-line options available with this command.

Option
Description
-O
Specify command output parameters
-T
Causes the command to terminate and return an error code when an error occurs.
-Y
Specify a Username and/or Password
-?, -H
Request online help for a command


The CD command sets the current path in the repository. After you set the current path on the command line, most commands assume the current path if you simply specify a file name. For example, if you follow tc Cd //Team Coherence/Source/Units with tc Get uMain.pas, TC retrieves //Team Coherence/Source/Units/uMain.pas

Note Use the CD command without a path to find the current folder from the command line.  


 


© 1995-2018 MCN Software