Temporary Directory Configuration File Format

This section describes the format of the temporary directory configuration files. The format is the same for files at all four levels: user_machine, user, install_machine, and install. These files are text files, so any text editor may be used to modify or create temporary directory configuration files.

An example temporary directory configuration file is shown below:

$begin 'Config'

tempdirectory='C:/TEMP/AnsysEM'

$end 'Config'

The temporary directory specified by this configuration file is C:/TEMP/AnsysEM.

Additional notes:

UNC Example

Config file:

$begin 'Config'

tempdirectory='\\\\hostxyz\\TEMP\\abc'

$end 'Config'

Here hostxyz is a host with a sharename TEMP having subdirectory abc used as the temporary directory. This shows that four back slashes are required for UNC names and that back slashes used as directory separators must be doubled.

Single Quote Example

Config file:

$begin 'Config'

tempdirectory='C:/TEMP/ab\'cd'

$end 'Config'

The temporary directory is C:/TEMP/ab'cd. This shows how to include a single quote in a tempdirectory pathname. It also shows that forward slashes may be used as directory separators on Windows.

Related Topics 

User Options and the Update Registry Tool

Example Adding a Host Independent User Option Setting

Example for Setting the Temporary Directory

Setting the Temporary Directory Using the GUI

Setting the Temporary Directory From the Command Line