Sets a system environment variable to a specified value
(setenv varname value)
Arguments
A string specifying the name of the environment variable to be set. Environment variable names must be spelled and cased exactly as they are stored in the system registry.
A string specifying the value to set varname to.
Return Values
value
Examples
MaxArray environment variable to 10000:
The following command sets the value of theCommand: (setenv "MaxArray" "10000")
"10000"
Note that changes to settings might not take effect until the next time AutoCAD is started.
getenv function.
The