VBS修改IE首页的代码
代码:
- set lhwy=createobject("wscript.shell")
-
- path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\main\Start Page"
- tf=lhwy.regwrite(path,"http://www.yunsec.net/")
- set path=nothing
- path="HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\Internet Explorer\Main\Start Page"
- tf=lhwy.regwrite(path,"http://www.yunsec.net/")
- wscript.quit
|