| Value - Represents one value from windows registry (Item property, Returns a single Value object from the Values collection.) |
|
| ||
Set S = CreateObject("RegEdit.Server")
S.GetKey("HKCR\.asa").Values("Content Type")="text/asp" |
| ||
'Get RegEdit.Server object
Set S = CreateObject("RegEdit.Server")
Set Key = S.GetKey("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved")
For Each Value In Key.Values
Wscript.Echo Value.Value
Next |