-C Option (Command Line)

Specifies a comment for a command. If you do not specify the -C option, Visual SourceSafe requests a comment for each item specified on the command line. If you do specify the option, all items receive the same comment.

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

  • -C
    Specifies that all items receive the same comment.
  • -C-
    Tells the command to use no comment.
  • -Ctext
    Uses the string text as the comment for all items.
  • -C@<file name>
    Uses the contents of the specified file as the comment for all items.
  • -C?
    Returns to the Visual SourceSafe default, which is to request a comment for each individual file.

Remarks

To set any of the options listed in the table as the default for the Checkout command, use the Checkout_Comment initialization variable in Ss.ini. If you have set a default in Ss.ini, you can replace it for a particular command using the -C? option. You can set the Comment_Editor variable in Ss.ini to invoke an editor of your choice as an alternative to the prompt-driven method of entering comments that Visual SourceSafe uses.

See Also

Reference

Checkout_Comment Initialization Variable
Comment_Editor Initialization Variable

Other Resources

Command Line Commands
Command Options