Get (Command Line)

Retrieves read-only copies of the specified Visual SourceSafe files or projects to your working folder. For definitions of the command options, see Command Options in this Help system.

Syntax

ss Get <items> [-G] [-H] [-I-] [-N] [-O] [-R] [-V] [-W] [-Y] [-?]

Project Rights

You must have the Read project right to use this command.

Remarks

By default, the Get command retrieves the most recent version of the files or projects you specify. However, you can get earlier versions as well by using the -V option. See -V Option (Command Line).

Used recursively on a project (-R option), this command retrieves all the files in the project and its subprojects, and places them in subfolders of the same name in your working folder. If you set the initialization variable Force_Dir to Yes in your Ss.ini file, the recursive Get command will place subprojects in their own working folders.

Examples

Retrieves a read-only copy of the file Test.c in the current project:

ss Get TEST.C

Retrieves a read-only copy of the file Test.c that is labeled Final:

ss Get -VlFinal TEST.C

Retrieves read-only copies of all the files in the current project:

ss Get *

Retrieves read-only copies of all the files in the project $/WORD, and all its subprojects:

ss Get $/WORD -R

See Also

Reference

-V Option (Command Line)
Force_Dir Initialization Variable

Other Resources

Command Line Commands
Command Options