Retrieves the value of the specified variable from the environment block of the calling process.
vEnvironmentVariables = Kernel.EnvironmentVariables (Name as String)
| Where | Type | Optional | Default | Description |
|---|---|---|---|---|
| Name | String | Specifies the environment variable. |
String
Kernel - One of the environment variable |
Set Kernel = CreateObject("ScriptUtils.Kernel")'Creates the Kernel object
Response.Write "<br>" & Kernel.EnvironmentVariables("COMPUTERNAME") |
CloseHandle, CopyFile, CreateProcess, DeleteFile, GetFileSize, MoveFile, Sleep, SwitchToThread, WaitForSingleObject
CommandLine, ComputerName, CurrentDirectory, CurrentProcess, CurrentThread, EnvironmentStrings, EnvironmentVariables, hrCounter, hrFrequency, hrTimeCounter, TempPath, TickCount
COM API for calling some of Kernel32 functions.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz