Core Function EnvGet

From Sputnik Wiki
Revision as of 12:53, 29 August 2013 by UberFoX (Talk | contribs)
Jump to: navigation, search
EnvGet( <tag> )

Contents

Description

Get the value of an environment variable.

Parameters

tag

Name of the environment variable to get such as "TEMP" or "PATH".

Return Value

Success:

Remarks

A environment variable set in this way will only be accessible to programs that Sputnik spawns (Run, RunWait).

Once Sputnik closes, the variables will cease to exist.

Example

$var = EnvGet("PATH");
MsgBox("Path variable is: $var");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox