I am trying to write a vbscript that will check the value of registry key.
I want to know if this is ChromeHTML or FirefoxHTML, or htmlfile
This is what I have so far but it won't display the key.
What is wrong with the code?
Dim objShell, regHtmlkey, HtmlKey
regHtmlkey = "HKEY_CURRENT_USER\Software\Classes\.html"
Set objShell = CreateObject("WScript.Shell")
HtmlKey = objShell.RegRead(regHtmlkey)
WScript.Echo HtmlKey & " is the default key"