This documentation is archived and is not being maintained.

CP (Command Line)

Visual Studio 2005

Sets the current project path. For definitions of the command options, see Command Options in this Help system.

ss CP <project> [-H] [-I-] [-Y] [-?]

Any Visual SourceSafe user can use this command.

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, Visual SourceSafe retrieves $/WORD/Test.c.

On the Visual SourceSafe command line, when you get or check out a file, the file goes into the current folder. However, 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.

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 $/