What is $NX_ROOT ? What is NX_ROOT ? What is %NX_ROOT% ? How do I set the current directory to $NX_ROOT?

Document ID : KB000013390
Last Modified Date : 14/02/2018
Show Technical Document Details
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%. 

Question:

What is $NX_ROOT ?

What is NX_ROOT ?

What is %NX_ROOT% ? 

How do I set the current directory to $NX_ROOT ?


 

 

Answer:

$NX_ROOT, NX_ROOT and %NX_ROOT% are 3 different notations which are used to refer to the same thing.

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. 

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

 

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:

NX_ROOT.png

Additional Information: