Pick up environment variables in vbscript WSH script


Is is possible to read system environment variables in a Windows Scripting Host (WSH) VBS script?

(I am writing a VBScript using Windows Scripting Host for task for a Cruise Control and want to pick up the project build URL.)

Best Solution

Here's an example (taken from here):

Set oShell = CreateObject( "WScript.Shell" )
WScript.Echo user & " " & comp