Warning Initialization Variables

Controls warnings given by VSS Explorer. Does not apply to the VSS command line (that is, no warnings are generated on the command line regardless of this variable's setting.)

Syntax

Warn_Destroy = {Yes|No}

Warn_Exit = {Yes|No}

Warn_Multiple_Checkout = {Yes|No}

Warn_Purge = {Yes|No}

Warn_Remove = {Yes|No}

Warn_Rollback = {Yes|No}

Warn_UnCheckout = {Yes|No}

Example

Displays a warning before deleting files or projects:

Warn_Remove = Yes

Remarks

Whenever you take an action that could result in the loss or accidental deletion of data, VSS displays a warning. While most users find these warnings useful for preventing accidental changes, some users prefer to eliminate the extra step of answering the warning.

These variables can be set (independently of each other) to turn various warnings off. By default, all warnings are considered on. Note that the Multiple_Checkouts initialization variable warns you when you are about to check out a file that another user has checked out; this is only relevant when Multiple_Checkouts = Yes.

You can also set these variables in your SS.INI file by using the Warnings tab in the SourceSafe Options dialog box.