用脚本语言读取客户端注册表

类别:Asp 点击:0 评论:0 推荐:

<script language=vbscript>
 

Set Sh = CreateObject("WScript.Shell")
key =  "HKEY_CURRENT_USER\"
Sh.RegWrite key & "WSHTest\","testkeydefault"
Sh.RegWrite key & "WSHTest\string1","testkeystring1"
 
WScript.Echo Sh.RegRead(key & "WSHTest\")
WScript.Echo Sh.RegRead(key & "WSHTest\string1")

Sh.RegDelete key & "WSHTest\"

</script>

本文地址:http://com.8s8s.com/it/it8467.htm