-G Command-line Option
Return to Introduction  Previous page  Next page
The Get command copies files from a Team Coherence archive into a folder. TC gets files in response to the Get command and also in response to other commands such as CheckOut.

For any of these commands, the -G option is used to change the nature of the Get operation.

The following table lists ways to use the -G option.

Option
Description
-GW
This option will cause the files to be extracted to their default working folder.
-GLpath
Copies a file to the specified folder, not to the current or working folder


By default, if neither of these options are specified, the files will be copied to the current folder.

The default behaviour can be changed to always default to the Working Folder (-GW) for the file by enabling the keyword ForceWorking in the TC.INI file. To enable it as the default, add the line ForceWorking=1 to the [Defaults] section of TC.INI. To disable it as a default, set the value to 0. For example, the following enables -GW as the default:

[Defaults]  
ForceWorking=1  

If set, you can disable ForceWorking for a specific command using -GW-, or using the -GLpath option instead.


 


© 1995-2018 MCN Software