File_Types Initialization Variable

See Also

Fills the List Files of Type combo box in the Add Files dialog box in Microsoft Windows.

Syntax

File_Types = file types

Example

Places two items in the combo box, C Files and Batch files:

File_Types = C Files (*.C; *.H), Batch files (*.BAT)

Remarks

In the VSS Add Files dialog box, the List Files of Type combo box is used to filter the file list to show only files of certain types. Showing all files is always an option. If you set the Relevant_Masks initialization variable, that setting is an option as well. This initialization variable is used to set other options that appear in the combo box. In the preceding example, for instance, C Files and Batch Files both appear as options; if you choose C Files, the file list shows all files with the extension .c or .h.

You can also set this variable in your SS.INI file by using the File Groups option on the File Types tab in the SourceSafe Options dialog box.