Delen via


Label (Command Line)

Assigns a label to the specified items (files or projects). For definitions of the command options, see Command Options in this Help system.

Syntax

ss Label <items> [-C] [-H] [-I-] [-L<name>] [-N] [-O] [-V] [-Y] [-?]

Project Rights

You must have the Add/Rename/Delete project right to use this command.

Remarks

If you assign a label to a file or project version that already has a label, the Label command replaces the existing label with the new one. Visual SourceSafe issues a warning before replacing the old label.

If you specify multiple items for the Label command, Visual SourceSafe prompts you for a different label for each item.

Examples

Assigns a label to the current version of the current project:

ss Label

Assigns a label to the current version of the project $/WORD:

ss Label $/WORD

Assigns a label to version 5 of the file Help.c:

ss Label HELP.C -V5

See Also

Other Resources

Command Line Commands
Command Options