G
Guest
We are having trouble with environment variables not expanding. The first environment variable is used in defining the second environment variable
SC_NAME=NUCLEUS_SC
SALESLOG=\\%SC_NAME%\D$\SALESLO
Using the set command displays
SALESLOG=\\%SC_NAME%\D$\SALESLOG
However, it should expand this variable and display
SALESLOG=\\NUCLEUS_SC1\D$\SALESLOG 'NUCLEUS_SC
The SALESLOG environment variable is expanded only after it is removed (set SALESLOG= ) then recreated again (set SALESLOG=\\%SC_NAME%\D$\SALESLOG)
Tried setting the first environment variable (SC_NAME) build order to 1002 while the second variable build order is set to 1001 but this did not fix the problem
Any suggestions
SC_NAME=NUCLEUS_SC
SALESLOG=\\%SC_NAME%\D$\SALESLO
Using the set command displays
SALESLOG=\\%SC_NAME%\D$\SALESLOG
However, it should expand this variable and display
SALESLOG=\\NUCLEUS_SC1\D$\SALESLOG 'NUCLEUS_SC
The SALESLOG environment variable is expanded only after it is removed (set SALESLOG= ) then recreated again (set SALESLOG=\\%SC_NAME%\D$\SALESLOG)
Tried setting the first environment variable (SC_NAME) build order to 1002 while the second variable build order is set to 1001 but this did not fix the problem
Any suggestions