English

How To: Redirect where ArcInfo Workstation and/or ArcGIS writes temporary or scratch files during processing

Procedure

Summary:

Information provided describes how to create a system environment variable that redirects temporary and scratch files generated during many ArcInfo Workstation or ArcGIS processes.

Below are examples of why types of processes are effected this system environment variable:

· Scratch files created during the ArcInfo Workstation CLEAN command, as well as MAPJOIN, UNION, IDENTITY and so on.
· Temporary metafiles created when printing and exporting from ArcMap.
· Temporary files created during several ArcGIS geoprocessing tools.

By default, temporary or scratch files are written to the current workspace for ArcInfo Workstation and to the system temporary directory for ArcGIS. These temporary files can be redirected to another directory by setting the ARCTMPDIR system environment variable to an alternate location.

This is advantageous if:
· The system drive of the computer does not have enough free space to store the temporary files, which may cause the application or process to fail. For example, the CLEAN command can require up to 13 times the size of the <in_cover> in available disk space.
· The current user does not want these temporary files to reside in their ArcInfo Workstation workspace directory.
· The current user does not have write/read access to the system temporary directory.

Procedure:

Use the following procedure to set an ARCTMPDIR system environment variable:

1. Navigate to Start > Control Panel > System.

2. Select the Advanced tab and click the Environment Variables button.

3. Under System variables, click the New button and enter the following:

variable name: ARCTMPDIR
variable value: C:\temp

Note:
Replace c:\temp in the above with a disk location appropriate for the current user. The current user must have full read/write access to this location.

4. Click OK on the New System Variable dialog box and click OK on the System Properties dialog box.

5. Restart ArcInfo or ArcGIS Desktop for this change to take effect.