oi10:presentation_server:getenvvar_method_system

GETENVVAR Method (System)

This method returns the value of a Windows environment variable.

EnvVarValue = Exec_Method( "SYSTEM", "GETENVVAR", EnvVarName )

NameRequiredDescription
EnvVarValueYesName of the environment variable to query.

The value of the specified Windows environment variable.

This method is a simple wrapper around the Windows API GetEnvironmentVariable function - further information regarding Windows environment variables may be found on the MSDN website.

 
// Get the value of the Windows "SystemDrive" variable

  

  SessionName = Exec_Method( "SYSTEM", "GETENVVAR", "SystemDrive" )
 
 
 

SETENVVAR method, ENVVARLIST property

  • oi10/presentation_server/getenvvar_method_system.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1