n is an absolute or relative directory pathname. Provided that the value of TempDirectory is a valid pathname, there is no maximum length. The default is Temp, which corresponds to <install-dir>\mgr\Temp.
TempDirectory is the name of the subdirectory for InterSystems IRIS® data platform to store temporary files. When you set a new TempDirectory value, the instance creates a subdirectory of this name which becomes the new InterSystems IRIS temporary directory.
You can specify a full or relative path. If you specify a full path, InterSystems IRIS uses the specified directory. If you specify a relative path, InterSystems IRIS creates the directory under the <install-dir>\mgr\ subdirectory.
To create c:\InterSystems\iris\mgr\Temp\ on Windows:
To create c:\TempFiles\ on Windows:
Changing This Parameter
On the Startup page of the Management Portal (System Administration > Configuration > Additional Settings > Startup), in the TempDirectory row, select Edit. Enter a subdirectory name.
Instead of using the Management Portal, you can change TempDirectory in the Config.StartupOpens in a new window class (as described in the class reference) or by editing the CPF in a text editor (as described in the Editing the Active CPF section of the “Introduction to the Configuration Parameter File” chapter in this book).