Checkout_Comment Initialization Variable

See Also

Sets the -C command-line option for the Check Out command. Applies only to the VSS command-line program (SS.exe).

Syntax

Checkout_Comment = valid -C setting

Example

Causes checkout to not prompt for comments by default:

Checkout_Comment = -

Remarks

VSS gives you the option of providing a comment for each file you check out. This is the default behavior. The checkout comment tells other users why you checked out the file, and is then erased when you check in the file with a permanent comment describing the change you made.

The Checkout_Comment variable controls VSS's prompt for a checkout comment. The following settings are all valid.

Does not prompt for a comment at check out:

Checkout_Comment = -

Prompts for one comment for all checked-out files:

Checkout_Comment =

Reads the specified text file as a comment:

Checkout_Comment = @filename

Uses the specified comment:

Checkout_Comment = comment

You can also set this variable in your SS.INI file under Check Out Comments on the Command Line Options tab in the SourceSafe Options dialog box.