Customize SRCSAFE.INI or SS.INI File

See Also

VSS provides two initialization files that contain settings you can use to customize your VSS environment:

Each user has an SS.INI file that can be edited. Only the VSS administrator should edit the global SRCSAFE.INI file.

Important   Manually editing the initialization files is not recommended, unless you are very familiar with VSS initialization variables and their behavior. Instead, users can set most initialization variables directly in the VSS Explorer SourceSafe Options dialog box on the Tools menu. VSS administrators can set SRCSAFE.INI variables in the VSS Administrator SourceSafe Options dialog box on the Tools menu. For a list of all initialization file variables, see Initialization Variables in the Reference section of VSS Help.

When you use the SourceSafe Options dialog box, VSS saves your changes in memory, but does not write the changes to the SS.INI or SRCSAFE.INI file until you quit VSS. Therefore, if you start a second VSS session before quitting the first, your changes are not yet in effect. The changes will only take effect after you quit VSS and start a new session.

You can read and modify initialization files with any text editor. Initialization file line length is limited to 511 characters, although this maximum may be further restricted by a limit of 31 characters for variable names (such as project path limitations).

Usually, SS.INI files are located in the Users subfolder of the folder in which VSS is installed. Each user added by the administrator has an SS.INI file in the Users subfolder. For example, if a user called JohnSmith is added by the administrator, he has his own SS.INI file located in the Users\JohnSmith subfolder of the VSS folder. The exact location of each user's SS.INI file is recorded in the Users.txt file, located in the VSS folder. You can move your SS.INI file provided you tell VSS of the change by editing the Users.txt file.

The SrcSafe.INI file is usually placed in the main VSS folder on a server.

Note   Initialization variables set in SS.INI files override settings in the SRCSAFE.INI file.

File Format

There are three kinds of lines in SS.INI and SRCSAFE.INI:

The order of variables inside an initialization file does not matter; however, the header under which a variable is placed does matter. If a variable is placed under the wrong header for instance, if a general-purpose variable is placed under [Keyword Comments] it is ignored.

SS.INI on Multiple Platforms

If you are running a multi-platform VSS installation, you may want certain variables to have different values on the different platforms. In this instance, you can place a platform specifier in parentheses after the variable, to indicate that the variable applies only on that platform, for example:

Use_ReadOnly (Win) = Yes

The setting in the example applies only under Microsoft Windows. Settings include UNIX, Win, NT, MAC, and PC the last is a catchall for personal computer operating systems.

VSS recognizes computer names as platform specifiers. Only 10 platform specifiers are allowed per user, or 10 per SS.INI file.