The SETENV procedure adds or changes an environment string in the process environment.
Change the current shell variable by entering:
Make sure to elimate any whitespace around the equal sign:
SETENV, 'VAR = H:\rsi' ; This is an incorrect usage; there are spaces around the equal sign.
SETENV, 'VAR=H:\rsi'; This is correct; VAR is set to H:\rsi.