Env\_SetString
Description
Section titled “Description”Sets value of specified environment variable
Syntax
Section titled “Syntax”Env_SetString(sName, sValue, sType) As Boolean
Parameters
Section titled “Parameters”sName (String)
Environment variable name
sValue
Environment variable value
sType (String)
Environment variable type. ‘System’, ‘User’ or ‘Process’
Example
Section titled “Example”VBScript
If bStatus Then bStatus = Env_SetString("TEST", "C:\MyFiles", "SYSTEM")Related functions
Section titled “Related functions”