Read the System Registry
'==========================================================================
' NAME: RegRead01.vbs
' AUTHOR: Neal Walters
' DATE : 2/27/2005
' http://VBScript-Training.com
' COMMENT:
'
'==========================================================================
Dim WshShell, bKey
Set WshShell = WScript.CreateObject("WScript.Shell")
bKey = WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\America Online\AOL\CurrentVersion\AppPath")
WScript.Echo "bKey=" & bKey
WScript.Echo "All Done"
|