CP (Command Line)

See Also

Sets the current project path.

Syntax

ss Cp project [-H] [-I-] [-Y] [-?]

Examples

Makes $/WORD the current project:

ss Cp $/WORD

Moves up to the parent of the current project:

ss Cp ..

Moves up to the root project:

ss Cp $/

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

Option Description
-I- Ignore: Do not ask for input under any circumstances.
-Y Specify a username and/or password.
-?, -H Request online Help on a command.

Access Rights

Any VSS user can use this command.

Remarks

The CP command sets the current project. After you set the current project on the command line, most commands assume the current project if you simply specify a file name. For example, if you follow ss Cp $/WORD with ss Get TEST.C, VSS retrieves $/WORD/TEST.C.

Note   Use the Project command to find the current project from the command line.

On the VSS command line, when you get or check out a file, the file goes into the current folder. But if the Force_Dir initialization variable is set to Yes, the file goes into your working folder for the project, even if that is not the current folder.