Shadow Initialization Variable

See Also

Sets a shadow folder for a project. Used in the SRCSAFE.INI file only.

Syntax

Shadow = shadow folder

Example

Sets M:\Masters\Word as a shadow folder for the project $/WORD:

[$/WORD]
Shadow = M:\MASTERS\WORD

Remarks

This variable references a shadow folder created for your project. This folder shadows the project, reflecting every file change in its own contents, and remains up-to-date. Before setting this variable, you must create the shadow folder somewhere and populate it with the files you want maintained there (using the Get Latest Versions command to that folder is the easiest way). From that point on, the files you've put in this shadow folder are kept up-to-date. Also, any new files added or deleted from the project in the VSS database are updated in the shadow folder.

The shadow folder should not be the folder you work from and modify code in. It is a separate folder that is maintained by VSS. However, you can go there and build your project or examine the code, as the folder reflects the exact current state of the project.

You can also set this variable in the SRCSAFE.INI file with the Set Shadow Folder For Project option, which is accessed by clicking Options on the Tools menu, then selecting the Shadow Folders tab. If you use the Shadow Folders tab, you do not need to use the Get Latest Versions command to initialize the folder.