/
Env_GetString
Env_GetString
Description
Gets value of specified environment variable
Syntax
Env_GetString(sName, sType, bMustExist) As Boolean
Parameters
sName (String)
Environment variable name.
sType (String)
Environment variable type. 'System', 'User' or 'Process'
bMustExist (Boolean)
Environment variable must exist
Return value
Result will be stored in gsValue
Example
VBScript
If bStatus Then bStatus = Env_GetString("Path", "System", True) If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)
Related functions
, multiple selections available,
Related content
Scripting Library
Scripting Library
Read with this
Env_GetString
Env_GetString
More like this
Variables
Read with this
Env_GetString
Env_GetString
More like this
System functions
System functions
Read with this
Env_GetString
Env_GetString
More like this