AttachLabel
Return to Introduction  Previous page  Next page
Attaches a Version Label to the latest revision of a file or to a specified revision.

Syntax

tc AttachLbl <Label> <TC Files> [-M] [-O] [-R] [-T] [-V] [-Y] [-?]  

Examples
 
Attaches label 7.0.1.23 to the current revisions of the files in the current folder

tc AttachLbl 7.0.1.23 *  

Recursively attaches label My Version to the current revision of all files in project //TestProject

tc AttachLbl "My Version" //Test Project -R  

Attaches label Test to revision 1.3 of Hello.pas:
 
tc AttachLbl Test Hello.pas -VR1.3  

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

Option
Description
-M
If an existing label with the same name exists, move it to the new revision.
-O
Specify command output parameters
-R
Recursively assign the label to the files contained in subfolders
-T
Causes the command to terminate and return an error code when an error occurs.
-V
Specify the revision to attach the label to
-Y
Specify a Username and/or Password
@<filename>
Specify a file containing the list of files to assign the label to
-?, -H
Request online help for a command


Remarks

Note This command supports Universal Naming Convention (UNC) names: it's not necessary to specify a drive. You can type, for example, \\COMPUTER\SHARE\FILE.TXT to add the FILE.TXT file from \\COMPUTER\SHARE.  



 


© 1995-2018 MCN Software