您现在的位置: 万盛学电脑网 >> 操作系统 >> Windows xp教程 >> 正文

通过vbs修改IE首页常见的手法(图文教程)

作者:佚名    责任编辑:admin    更新时间:2022-06-22

class="area"> 通过vbs修改IE首页常见的手法(图文教程):

VBS修改IE首页的代码


代码:
 

  1. set lhwy=createobject("wscript.shell") 
  2.  
  3. path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\main\Start Page" 
  4. tf=lhwy.regwrite(path,"http://./") 
  5. set path=nothing 
  6. path="HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\Internet Explorer\Main\Start Page" 
  7. tf=lhwy.regwrite(path,"http://./") 
  8. wscript.quit