you have a royalty-free right to use, modify, reproduce and distribute 【扩展信息:娱乐颠峰音符 诺基亚7710详尽评测】
windows script host sample script
the sample application files (and/or any modified version) in any way
you find useful, provided that you agree that microsoft has no warranty,
obligations or liability for any sample application files.
------------------------------------------------------------------------
this sample demonstrates how to write/delete entries in the registry.
l_welcome_msgbox_message_text = "此脚本显示如何创建与删除注册表项。"
l_welcome_msgbox_title_text = "windows scripting host 范例"
call welcome()
********************************************************************************
*
* registry related methods.
*
dim wshshell
set wshshell = wscript.createobject("wscript.shell")
wshshell.popup "创建项 hkcu\myregkey 数值为 top level key"
wshshell.regwrite "hkcu\myregkey\", "top level key"
wshshell.popup "创建项 hkcu\myregkey\entry 数值为 second level key"
wshshell.regwrite "hkcu\myregkey\entry\", "second level key"
wshshell.popup "将数值项 hkcu\myregkey\value 设为 reg_sz 1"
wshshell.regwrite "hkcu\myregkey\value", 1
... 下一页