script to update windows 2003 server registry
I need help writing an array to populate the RegLocate and RegLocate1 variables. I have all the information in a spreadsheet. It's only 54 keys, so the information can be directly in the script. I have been trying for several days, and just can't get it to work. The basic script is below. It works if I put the specific variables in, but I would have to do it one at a time, and that defests the purpose. Thanks for any help
Dim objShell, RegLocate, RegLocate1
Set objShell = WScript.CreateObject("WScript.Shell")
On Error Resume Next
RegLocate = ""
objShell.RegWrite RegLocate,"","REG_DWORD"
WScript.Quit