综合

img aspczlover

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

发表于2004/10/2 5:41:00  483人阅读

<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>

阅读全文
0 0

相关文章推荐

img
取 消
img