The SETENV procedure adds or changes an environment string in the process environment.
Change the current shell variable by entering:
Make sure to eliminate any whitespace around the equal sign:
; This is an incorrect usage--there are spaces around the equal
SETENV, 'VAR = H:\exelis'
; This is correct--VAR is set to H:\exelis:
A scalar string or string array containing one or more environment expressions to be added to the environment.