Commands
Return to Introduction  Previous page  Next page
The following topics describe the commands available in the TC command-line utility in more detail. A few points should be noted, however:

Prompts and Confirmation

The TC command line only prompts for Comments and Username/Password, and only when necessary. No confirmation of actions that could cause loss of local changes is requested from the user.

For this reason, the built-in default options for all commands causes these commands to fail when local data may be overwritten. If you use command-line options or settings to override these defaults, you may not be prompted for confirmation.

Repository Connections

TC remembers the last repository you were connected to and the UserName/Password you used to connect to it. In addition, your position within a repository is also remembered between commands.

In order to switch to another repository, or to login as a different user for subsequent commands use the Connect command. To view the account you are using, use WhoAmI, or ConnectInfo.

Commands

You can specify other commands to use in place of the standard ones. This is useful if you prefer to use shortened commands, for example while typing. To specify alternatives to the builtin command names, modify or add the [Alternate] section in the TC.INI file.

For example, to specify UnCO as an alternate to UndoCheckOut, add the line UnCO=UndoCheckOut to the [Alternates] section of the INI file:

[Alternates]  
UnCO=UndoCheckOut  
 

Linux Users

Because of the differences in path specifications between Linux and Windows it is advisable to either use a View when checking files in or out, or to specify the destination folder specifically using the -G option.

Using a View is simpler in that all users can specify their own default working paths regardless of operating system, which allows you to simply select the view you are using based on the OS.

Default Settings

You can also specify defaults for the -S, -G, and -C command options using the TC.INI file. Information on setting the defaults for these options can be found under the Command line Options topic for the relative options.

 


© 1995-2018 MCN Software