Env_SetString
Description
Sets value of specified environment variable
Syntax
Env_SetString(sName, sValue, sType) As Boolean
Parameters
sName (String)
Environment variable name
sValue
Environment variable value
sType (String)
Environment variable type. 'System', 'User' or 'Process'
Example
VBScript
If bStatus Then bStatus = Env_SetString("TEST", "C:\MyFiles", "SYSTEM")