I get the error:
"unable to remove registry key HKEY_LOCAL_MACHINE\SOFTWARE\cal1"
This key has nothing in it, just empty. I created cal1 to test the script.
code below
-----------------------------------------------
Option Explicit
Dim WshShell, CAL1
Set WshShell = WScript.CreateObject("WScript.Shell"
CAL1 = "HKEY_LOCAL_MACHINE\SOFTWARE\cal1"
WshShell.RegDelete cal1
-----------------------------------------------
what am I doing wrong?
"unable to remove registry key HKEY_LOCAL_MACHINE\SOFTWARE\cal1"
This key has nothing in it, just empty. I created cal1 to test the script.
code below
-----------------------------------------------
Option Explicit
Dim WshShell, CAL1
Set WshShell = WScript.CreateObject("WScript.Shell"
CAL1 = "HKEY_LOCAL_MACHINE\SOFTWARE\cal1"
WshShell.RegDelete cal1
-----------------------------------------------
what am I doing wrong?