Get
Return to Introduction  Previous page  Next page
Gets a read-only copy of the specified files.

Syntax

tc Get <TC Files> [-E] [-G] [-M] [-O] [-R] [-T] [-V] [-VA] [-W] [-Y] [-?]  

Examples

Get TEST.PAS from the folder //TestProject/Source:

tc Get //TestProject/Source/TEST.PAS  

Gets all .pas and .dfm files from the current folder:

tc Get *.pas *.dfm  

Gets all .pas files from the current folder and all subfolders:

tc Get *.pas -r  

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

Option
Description
-E
Make the workfile writable after successful Get
-G
Specify the location of the workfile
-M
If assigning a Version Label (-VA), causes any existing label to be moved to the new revision.
-O
Specify command output parameters
-R
Recursively get a folder and its subfolders
-T
Causes the command to terminate and return an error code when an error occurs.
-V
Specify a revision or version to get
-VA
Assign a Version Label to the revision that was retrieved
-W
If the local file is writable, causes it to be overwritten with the checked out copy
-Y
Specify a Username and/or Password
@<filename>
Specify a file containing the list of files to get
-?, -H
Request online help for a command


Remarks

If the local copy of the file is not read-only the action will fail for that file. To override this default and to cause the local file to be overwritten with the new read-only copy, use the -W command-line option.

 


© 1995-2011 Quality Software Components Ltd