setEnv
Set the value of the specified environment variable in current OS. If variable exists it will be replaced.
Syntax:
setEnv(
environmentVariable
,
value
)
environmentVariable : see Environment Variables section for more details.
Example:
setEnv( "MYENVVAR", "true" )
printS( getEnv( "MYENVVAR" ) )
waitKey()
see also the getEnv() command.