set an environment variable
Major Section:  PROGRAMMING

(Setenv$ str val), where str and val are strings, sets the environment variable str to have value val, for subsequent read by getenv$ (see getenv$), and returns nil. Or, if this operation is not implemented for the host Common Lisp, an error will occur.

(setenv$ "FOO" "BAR")