Warning Initialization Variables

Specify Yes (default) if warnings are displayed before specific command actions that might result in accidental loss or deletion of data. These variables specify No if Visual SourceSafe is not to generate warnings before such command actions.

Note

No warnings are generated on the Visual SourceSafe command line, regardless of the setting of this variable.

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}

Remarks

When you select a command that can result in the loss or accidental deletion of data, Visual SourceSafe displays a warning by default. While most users find these warnings useful for preventing accidental changes, you might prefer to eliminate the extra step of answering the warning.

You can set each of the warning variables independently to turn warnings off for the associated command. Note that the Warn_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 if the Multiple_Checkouts initialization variable is set to Yes.

You can set the warning variables in your Ss.ini file directly or in Visual SourceSafe Explorer. In Visual SourceSafe Explorer, use the SourceSafe Options dialog box, Warnings tab and select the warnings that you want Visual SourceSafe to display.

Examples

Displays a warning before deleting files or projects:

Warn_Remove = Yes

See Also

Reference

Multiple_Checkouts Initialization Variable
SourceSafe Options Dialog Box, Warnings Tab (Explorer)

Other Resources

Initialization Variables