Skip to main content
Previous sectionNext section

TempDirectory

Specify the subdirectory for temporary files.

Synopsis

[Startup]    TempDirectory=n

n is an absolute or relative directory pathname. The default is Temp, which corresponds to <install-dir>\mgr\Temp.

Description

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.

Examples

To create c:\InterSystems\iris\mgr\Temp\ on Windows:

TempDirectory=Temp
Copy code to clipboard

To create c:\TempFiles\ on Windows:

TempDirectory=c:\TempFiles
Copy code to clipboard

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.Startup 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).