<script language=vbscript>
Set Sh = CreateObject("WScript.Shell")
key = "HKEY_CURRENT_USER"
Sh.RegWrite key & "WSHTest","testkeydefault"
Sh.RegWrite key & "WSHTeststring1","testkeystring1"
WScript.Echo Sh.RegRead(key & "WSHTest")
WScript.Echo Sh.RegRead(key & "WSHTeststring1")
Sh.RegDelete key & "WSHTest"
</script>
时间: 2024-10-31 00:55:55