At 03:13 PM 8/8/2011, Mike Casey wrote:

Is there a way to force RBASE 7.6 Win to refresh or re-read the
Windows User Environment Values to see if it can read a changed
value? I appreciate any feedback.

Mike,

Here's how:

Syntax:

-- 01. To set the system variable

PLUGIN REnvironmentVariables.RBL vResVar|SET_SYSTEM_VAR VarName|VALUE

-- 02. To get the system variable

PLUGIN REnvironmentVariables.RBL vResVar|GET_SYSTEM_VAR VarName

-- 03. To set the user variable

PLUGIN REnvironmentVariables.RBL vResVar|SET_USER_VAR VarName|VALUE

-- 04. To get the user variable

PLUGIN REnvironmentVariables.RBL vResVar|GET_USER_VAR VarName

-- Example 01:

PLUGIN REnvironmentVariables.RBL vResVar|SET_SYSTEM_VAR PATH|C:\TEMP

-- Example 02:

PLUGIN REnvironmentVariables.RBL vResVar|GET_SYSTEM_VAR PATH

-- Example 03:

PLUGIN REnvironmentVariables.RBL vResVar|SET_USER_VAR PATH|C:\TEMP

-- Example 04:

PLUGIN REnvironmentVariables.RBL vResVar|GET_USER_VAR PATH

That's all there is to it!

Very Best R:egards,

Razzak.


Reply via email to