Read a registry value.
Set objShell = WScript.CreateObject("WScript.Shell")
regPath = "KEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Office11/Outlook" regVal = objShell.RegRead(regPath)
Wscript.Echo regVal