Application User Directory

This topic describes how the .idl/envi application user directory is created on different systems. This directory is used for ENVI preferences, custom tasks, custom code, and toolbox extensions.

IDL creates a .idl directory on each system based on one of the following environment variables. The following order of variables determines the default location. If a variable is not set, IDL searches the next one in the list:

  1. HOME
  2. USERPROFILE
  3. TEMP
  4. TMP
  5. Windows system directory

ENVI uses the IDL APP_USER_DIR routine to get the location of the .idl directory, then it creates an envi subdirectory under it.

The following is the default location for .idl/envi, depending on the system:

Windows: \Users\username\

Linux: \home\username

Mac: \Application\username