Dir Initialization Variable

See Also

Associates a working folder with a specific project. This variable is automatically set by the Set Working Directory command. It is recommended that you do not set this variable manually.

Syntax

Dir = directory path

Example

Associates the directory C:\Word with the project $/Word:

[$/WORD]
Dir (PC) = C:\WORD

Remarks

When you are working on a project, you generally have a local directory, on your hard disk or on the network, where you keep your source code and work on the project.

The Dir command displays where your working directory for a particular project is stored. When you change to a new project, VSS automatically sets your working directory to this directory.

The use of the Dir variable can be further strengthened by setting either or both of the Force_Dir and Force_Prj variables to Yes.