That's it..
When I replaced the SETM "TEST3=three" line in my sample script with
code:
setm("TEST3a=three_A")
setm("TEST3b=three_B")
setm("TEST3c=three_C")
TEST3a and TEST3b were both written to the SYSTEM env, while TEST3c was written to the USER env.
I'll post a snippet of the code from my customization script..
code:
;===============================================================================
; define the system command prompt to include the server name
SETM("PROMPT=%COMPUTERNAME% - $P$G")
" Set Command-line Prompt" ?
;===============================================================================
; add the tools dir to the path if it isn't there already
If instr(%PATH%, "\usr\local\bin") = 0
SETM("PATH=%SYSTEMDRIVE%\usr\local\bin;%PATH%")
" Updated PATH" ?
EndIf
... about 60 more lines of code ...
;===============================================================================
; add .KIX to the PATHEXT if it isn't there already - this permits .KIX files
; to be run directly from a command-line
If instr(%PATHEXT%, ".KIX") = 0
SETM("PATHEXT=%PATHEXT%;.KIX")
EndIf
" Added .KIX to PATHEXT" ?
Finally - sure enough - If I change the script to:
code:
setm("TEST3a=three_A")
"Message 1" ?
setm("TEST3b=three_B")
"Message 2" ?
setm("TEST3c=three_C")
"Message 3" ?
all three are written to the USER env.
Hope this helps..
Glenn