What is the start directory of Managed NX and how is it defined?
Solution
Look in the %TC_ROOT%\portal\start_nxmanager.bat file.
There is a section that defines the %START_DIR%.
======================================
set START_DIR=%API_DEFAULT_DIR%
if "%START_DIR%"=="" set START_DIR=%HOME%
if "%START_DIR%"=="" set START_DIR=%TC_TMP_DIR%
if "%START_DIR%"=="" set START_DIR=%UGII_TMP_DIR%
if "%START_DIR%"=="" set START_DIR=%TEMP%
rem
cd /d %START_DIR%
======================================
When launching NX Integration, this section will be used to first look for the
variable %API_DEFAULT_DIR%...
If this is not found, it will look for %HOME%
If this is not found, it will look for %TC_TMP_DIR%
If this is not found, it will look for %UGII_TMP_DIR%
And if this is not found, it will use %TEMP%
As an example, NX Integration may actually get to UGII_TMP_DIR and uses this
variable. This variable is defined in the UGII_BASE_DIR\UGII\ugii_env_ug.dat
file.
But this value may be overwritten to have a different value in the
UGII_BASE_DIR\UGII\ugii_env.dat file, or by defining UGII_TMP_DIR as a system
variable.
Notes and References
Hardware/Software Configuration
Platform: all
OS: n/a
OS Version: n/a
Product: NX
Application: NXMANAGER
Version: V9.0.3
Function: FILE_OPEN
Ref: 001-9011465