Shadow_EOL Initialization Variable

See Also

Sets the end-of-line character used in the shadow folder. Used in the SRCSAFE.INI file only.

Syntax

Shadow_EOL = {n|r|rn}

Example

Terminates all lines in the shadow folder with carriage-return/line-feed pairs:

Shadow_EOL = rn

Remarks

When VSS copies a file into the shadow folder, it uses the end-of-line character used by its own operating system. For instance, VSS for MS-DOS uses a carriage-return/line-feed pair. In a multiple-platform environment, the files in the shadow folder are therefore a mixture of end-of-line characters, based on which operating system each file was updated from most recently.

This variable overrides that mechanism, forcing all versions of VSS to use the specified end-of-line character. Set the variable to n for line feeds (the UNIX default), r for carriage returns, or rn for carriage-return/line-feed pairs (the Intel default).

You can also set this variable in the SRCSAFE.INI file with the End of Line Characters For Files option, which is accessed by clicking Options in the Tools menu, then selecting the Shadow Folders tab.