Binary_Masks Initialization Variable

See Also

Sets binary file storage for certain file types.

Syntax

Binary_Masks = mask [, additional masks]

Example

Tells VSS that any files with the .obj and .xls extensions are binary files:

Binary_Masks = *.OBJ, *.XLS

Remarks

This variable overrides VSS's automatic detection of text and binary files, so that you can indicate that certain file types are always binary. You can also set this variable in your SS.INI file by using the Binary File types option on the File Types tab in the SourceSafe Options dialog box.

Normally, VSS checks the contents of a file during an add or checkin to see if it contains text or binary data; but this check can be time-consuming for large files. Setting the Binary_Masks variable speeds up the Add Files and Check In commands for files that you know to be of one type or the other.