-C Command-Line Option

See Also

Use the -C option for any command that requires a comment. If you do not specify the -C option, VSS 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.

Option Description
-C All items receive the same comment.
-C- No comment is used.
-Ctext Uses the string text as the comment for all items.
-C@File.txt Uses the contents of File.txt as the comment for all items.
-C? Returns to the VSS default; requests a comment for each individual file.

To set any of the options listed in the table as the default for the Check Out command, use the Checkout Comment variable in SS.INI. If you have set a default in SS.INI, you can replace it for a particular command with the option -C?. VSS then asks for a comment for each individual file (the VSS default).

You can set the Comment_Editor variable in SS.INI to invoke an executable editor of your choice as an alternative to the prompt-driven method of entering comments that VSS uses.