Locating Flat Files |
When searching for flat files (.con, .job, or .esi files), USoft Developer uses a strategy based on variables set in your Windows registry or on Unix. These variables are InstallationDir, FileSearchPath, and HomeDir on Windows, or XFILESEARCHPATH and $HOME on Unix. NOTE: FileSearchPath is also used to retrieve USoft resource files, such as USDI and USDIW. USoft Developer searches as follows:
•%T : default application directory: on Windows: 'app', on Unix: 'app-defaults' •%N : application name •%S : extension (.con/, .job/, .esi/ , etc) •%I : (=uppercase i) installation directory: Windows only •%i : home-directory: Windows only
NOTE: The Installation Directory is given by the value of the version key. (e.g. version 7.0.1A : C:\USD70). For example, to locate the flat file in the current working directory on Unix, the following could be appended to XFILESEARCHPATH: XFILESEARCHPATH="$XFILESEARCHPATH:./%N%S" export XFILESEARCHPATH |