NX_ROOT Definition
search cancel

NX_ROOT Definition

book

Article ID: 13390

calendar_today

Updated On:

Products

CA Service Desk Manager CA Service Management - Service Desk Manager

Issue/Introduction

The product documentation and many technical documents refer to various NX_ROOT notations.

For example, you may see $NX_ROOT, NX_ROOT and %NX_ROOT%. 

What is $NX_ROOT / NX_ROOT / %NX_ROOT% ? 

How do I set the current directory to $NX_ROOT ?

Environment

CA Service Desk Manager - All Supported Versions.

Cause

The NX_ROOT notations refer to the CA Service Desk Manager base installation directory. 

The CA Service Desk Manager base installation directory is specified when installing the product. 

$NX_ROOT, NX_ROOT and %NX_ROOT% are 3 different notations which are used to refer to the SDM base install directory.

For the remainder of this document, we will use $NX_ROOT.

Resolution

The base installation directory:

For example, the default base installation directory for CA Service Desk Manager in a Windows environment is:

C:\Program Files (x86)\CA\Service Desk Manager

The short value of $NX_ROOT:

Because CA Service Desk Manager requires 8dot3 notation, there is short value for $NX_ROOT, as well as a long value.   

For example, the short value for the default base installation directory in a Windows environment is similar to:

C:/PROGRA~2/CA/SERVIC~1

Checking the value of $NX_ROOT:

To check the short value, in a Windows environment, you could run the following command:

nx_env | find "NX_ROOT"

The result should be similar to:

NX_ROOT=C:/PROGRA~2/CA/SERVIC~1

Changing the current directory to the $NX_ROOT directory:

You can use the "nxcd" command to change the current directory on a CA Service Desk Manager server to the base installation directory.

Using the commands in a Windows environment: