How to check for registry value using VbScript

前端 未结 5 1722
我寻月下人不归
我寻月下人不归 2020-12-30 06:15

How can I check for registry value using VbScript?

5条回答
  •  礼貌的吻别
    2020-12-30 06:35

    Try something like this:

    Dim windowsShell
    Dim regValue
    Set windowsShell = CreateObject("WScript.Shell")
    regValue = windowsShell.RegRead("someRegKey")
    

提交回复
热议问题