Salesforce

OSEnvSet (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

OSEnvSet (Magic xpa 4.x)

Sets the value of an operating system environment variable. The duration of this setting is until the Magic xpa process terminates.

Syntax:

OSEnvSet(variable, value)

Parameters:

variable – A string value representing an operating system environment variable.

value – A string value representing the value that the variable is set to.

Returns:

True

Example:

OSEnvSet('PATH','C:\Program Files\Dev;C:\winnt\system32') sets the value of the operating system PATH environment variable to 'C:\Program Files\Dev;C:\winnt\system32'.

See also:

OSEnvGet

The Online and Rich Client Samples projects (program EV09 and REV09)

Reference
Attachment 
Attachment