The Compile and Redirect commands are similar but have key different behaviors:


Compile: Leaves the current directory at the directory of the last file "compiled".

Redirect: Returns to the directory from which it was issued.


You can redirect to a relative pathname such as


Redirect Beachhaven\master.DSS


or to a full pathname such as:


Redirect C:\MyProject\Beachhaven\master.DSS


The file Master.DSS may contain many other Redirect commands with only local file reference.


When done with Master.DSS, the DSS resets the current directory to where it started.