Customizing Projects Using Initialization Variables
You can specify Visual SourceSafe initialization variables on a project-by-project basis to customize the database for your team. Every initialization variable can be placed under project headers in the applicable initialization file so that Visual SourceSafe will work differently for different projects.
Setting Variables that Apply to All Projects
You can set global variables that apply to all projects in an initialization file. Place these before any headers. Here is an example of a setting for a global variable that sets the default for all projects:
;the following variable applies to all projects
Diff_Format = Visual
Setting Project-specific Variables
Use a project header in your initialization file to indicate that the variables specified apply only to a specific project, and all subprojects. Settings made under project headers override any global settings of the same variables. In the next example, a project header is used to specify the Diff_Format and Dir initialization variables for the project $/Reports and all its subprojects:
;the following variables apply under $/Reports
[$/Reports]
Diff_Format = SS
Dir = C:\DEV
Setting Subproject-specific Variables
You can also use a project header in your initialization file to indicate that the variables specified apply only to a specific subproject. In this case, the settings made under the header override settings of the same variables for the parent project. Here's an example in which a project header is used to specify the Diff_Format initialization variable specifically for the subproject $/Reports/JournalLogs:
;the following variable applies under $/Reports/JournalLogs
[$/Reports/JournalLogs]
Diff_Format = UNIX
See Also
Reference
Diff_Format Initialization Variable
Dir Initialization Variable