
我的VBS程序修改册表值,怎么把DWORD值变成了字符串值?
\Mipath="HKEY_CURRENT_USER\Softwarecrosoft\Windows\CurrentVersion\Policies\System\"se...
\Mipath="HKEY_CURRENT_USER\Softwarecrosoft\Windows\CurrentVersion\Policies\System\"
set wshshell=wscript.createobject("Wscript.shell")
vtr=wshshell.RegWrite(path,"DisableRegistryTools","0")wscript.echo vtr 运行之后原来的WORD值变成了字符串值` 展开
set wshshell=wscript.createobject("Wscript.shell")
vtr=wshshell.RegWrite(path,"DisableRegistryTools","0")wscript.echo vtr 运行之后原来的WORD值变成了字符串值` 展开
1个回答
2013-05-21
展开全部
vtr=wshshell.RegWrite(path,"DisableRegistryTools","0")改为:vtr=wshshell.RegWrite(path,"DisableRegistryTools","0", "REG_SZ")
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询