Share via


Relevant_Masks Initialization Variable

Specifies the types of files that are typically added to a project. Use of this variable does not prevent you from adding other types of files to the project.

Syntax

Relevant_Masks = <masks>

Remarks

Use of this variable is helpful in the following cases:

  • If you add an entire folder to the Visual SourceSafe database with one command, for example, by using the Add command line command or by using a drag-and-drop operation from Windows Explorer into Visual SourceSafe Explorer, only files matching the relevant masks are added. Other files can then be added individually.

  • When you run the Visual SourceSafe Explorer Show Differences command on a project to compare the current project to your working directory, files that do not match the relevant masks are not displayed as differences.

  • When you are using the Add File to <name> dialog box, the relevant masks are used as the default in the List files of type box.

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, File Types tab. Specify the types of files that are included in the Relevant Masks file group by using the File types included in file group box.

Examples

Specifies that you can add files with the extensions .c, .h, or none:

Relevant_Masks = *.C, *.H, *.

Specifies that you can add any files except those with the extension .obj.

Relevant_Masks = !*.OBJ

See Also

Reference

Add File to <name> Dialog Box (Explorer)
SourceSafe Options Dialog Box, File Types Tab (Administrator and Explorer)

Other Resources

Initialization Variables