setenv

Sets an environment variable. (version 4.54 or later)

Format

setenv <envname> <strval>

Remarks

Sets <strval> to an environment variable specified by <envname>.
It is effect to only the macro environment and not to system.
If already <envname> environment variable is set, <envname> is overwritten.

Example

setenv 'TEMP' 'C:\'