Caché Parameter File Reference
SwitchOSdir
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

Enable/disable switching current working directories when changing namespaces.
Synopsis
[Miscellaneous]    SwitchOSdir=n
Description
This setting specifies what happens to the current working directory (for accessing files by relative pathname, etc.) when you switch to a new namespace. The value n may be 1 or 0:
Suppose SwitchOSdir is set to 1, or SwitchOSdir is set to 0 and the dataset is remote. In these cases, the current working directory does not change automatically as a result of changing the namespace, but you can always change the current working directory programmatically.
Examples
SwitchOSdir=0
Range of Values
0 or 1. The default is 0.
Management Portal
On the page System Administration > Configuration > Additional Settings > Compatibility, in the SwitchOSDir row, select Edit. Choose true (selected) or false (cleared).