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")
Â