Share via


Keep_Checkedout Initialization Variable

Specifies Yes to keep files checked out locally when you check them in or add them to the database. Set this variable to No if you do not want to keep local files checked out.

Syntax

Keep_Checkedout = {Yes|No}

Remarks

If you always want to have all the files checked out, as for a one-person project, set this variable to Yes. Visual SourceSafe will immediately check a file out to you again any time you check in or add a file to the database.

In Visual SourceSafe Explorer, this variable sets the default for the Keep checked out check box in the Check In dialog box. You can change that default at any time when you check in a file. On the command line, you can override this variable using the -K command option.

You can set this variable in your Ss.ini file directly or in Visual SourceSafe Explorer. In Visual SourceSafe Explorer, use the SourceSafe Options dialog box, General tab. Select the Always keep files checked out check box to set this variable to Yes.

Examples

Specifies that Visual SourceSafe will not keep files checked out after you check them in or add them to the database:

Keep_Checkedout = No

See Also

Reference

-K Option (Command Line)
SourceSafe Options Dialog Box, General Tab

Other Resources

Initialization Variables