I am trying to read a registry key (win 2k and Win XP) using the regread function. Ultimately, I want to store all of the contents of the registry key in a file then compare it to another file to check for differences. I am start with small snipets of code to get a feel for what I need to do. The code attached will display a simple message box then will read a key from the registry and display it on my browser (IE). This is all I am trying to do at this point. The message box works but I see no text (registry key contents). I must be doing something wrong. All of the books I have been reading don't go into any real depth on this and hopefully someone can help.
Thanks in advance,
/**** code starts here ****/
My First Script.html
MsgBox "Click on OK to get registry data"
Dim wshshell, strResult
Set Wshshell = WScript.CreateObject("WScript.Shell")
/**** cod end ****/
0 · ·