常用的设置默认浏览器的方法可以参考:http://www.diannaoweixiu.net/ruanjianguzhang/windows_xp/17.html,这里面列出了常用的几种浏览器的设置方法,比较直观,其设置方式都是一样的,都是通过浏览器更改注册表的值,现在我给出修改的值的注册表的位置:
ftp:HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\ftp\UserChoice
http:HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice
https:HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice
在UserChice右面有键Progid,他的值就是默认打开方式
谷歌键值:将Progid设置为"ChromeHTML"即可
火狐键值:将Progid设置为"FirefoxURL"即可
IE键值需要分别设置,分别是:FTP将Progid设置为"IE.FTP"即可,HTTP将Progid设置为"IE.HTTP"即可,HTTPS将Progid设置为"IE.HTTPS"即可
下面是设置IE为默认浏览器的注册表导入命令
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\ftp]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\ftp\UserChoice]
"Progid"="IE.FTP"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice]
"Progid"="IE.HTTP"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice]
"Progid"="IE.HTTPS"
将上述命令粘贴到记事本中,另存为IE.reg运行即可