next up previous contents
Next: delEnvironmentVariable Up: Methods Previous: getEnvironmentVariable   Contents


setEnvironmentVariable

Description

Sets the value of an environment variable.


Syntax

Shell.setEnvironmentVariable(name, value)


Parameters

name
The name of the variable value The value of the variable


Returns

Returns true if successful, or false otherwise.


Example

Shell.setEnvironmentStrings("test", "test value");




Copyright ©2000-2007 Shanghai TopCMM Software Technologies. All Rights Reserved.