把我的注册表文件导出来给你看看:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT/htmlfile/shell]
@="iWander"
[HKEY_CLASSES_ROOT/htmlfile/shell/Edit]
@="编辑(&E)"
[HKEY_CLASSES_ROOT/htmlfile/shell/Edit/command]
@="/"F://Program Files//Microsoft Office//Office//msohtmed.exe/" %1"
[HKEY_CLASSES_ROOT/htmlfile/shell/FantasiaWebExplorer]
[HKEY_CLASSES_ROOT/htmlfile/shell/FantasiaWebExplorer/Command]
@="D://Documents and Settings//Administrator//My Documents//Fantasia2001//Fantasia.exe %1"
[HKEY_CLASSES_ROOT/htmlfile/shell/InternetExplorer]
[HKEY_CLASSES_ROOT/htmlfile/shell/InternetExplorer/Command]
@="/"D://Program Files//Internet Explorer//iexplore.exe/" %1"
[HKEY_CLASSES_ROOT/htmlfile/shell/iWander]
[HKEY_CLASSES_ROOT/htmlfile/shell/iWander/command]
@="F://Program Files//iWander//iWander.exe /"%1/""
[HKEY_CLASSES_ROOT/htmlfile/shell/open]
@="在同一窗口中打开(&A)"
[HKEY_CLASSES_ROOT/htmlfile/shell/open/command]
@="/"D://Program Files//Internet Explorer//iexplore.exe/" -nohome"
[HKEY_CLASSES_ROOT/htmlfile/shell/open/ddeexec]
@="/"file://%1/",,-1,,,,,"
"NoActivateHandler"=""
[HKEY_CLASSES_ROOT/htmlfile/shell/open/ddeexec/Application]
@="IExplore"
[HKEY_CLASSES_ROOT/htmlfile/shell/open/ddeexec/Topic]
@="WWW_OpenURL"
[HKEY_CLASSES_ROOT/htmlfile/shell/opennew]
@="打开(&O)"
[HKEY_CLASSES_ROOT/htmlfile/shell/opennew/command]
@="/"D://Program Files//Internet Explorer//iexplore.exe/""
[HKEY_CLASSES_ROOT/htmlfile/shell/opennew/ddeexec]
@="[ViewFolder(/"%l/",/"%l/",%S)]"
"NoActivateHandler"=""
[HKEY_CLASSES_ROOT/htmlfile/shell/opennew/ddeexec/Application]
@="Folders"
[HKEY_CLASSES_ROOT/htmlfile/shell/opennew/ddeexec/Topic]
@="AppProperties"
[HKEY_CLASSES_ROOT/htmlfile/shell/Print]
@="打印(&P)"
[HKEY_CLASSES_ROOT/htmlfile/shell/Print/command]
@="/"F://Program Files//Microsoft Office//Office//msohtmed.exe/" /p %1"
[HKEY_CLASSES_ROOT/htmlfile/shell/printto]
[HKEY_CLASSES_ROOT/htmlfile/shell/printto/command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,/
00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,/
25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,/
00,68,00,74,00,6d,00,6c,00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,00,69,00,/
6e,00,74,00,48,00,54,00,4d,00,4c,00,20,00,22,00,25,00,31,00,22,00,20,00,22,/
00,25,00,32,00,22,00,20,00,22,00,25,00,33,00,22,00,20,00,22,00,25,00,34,00,/
22,00,00,00
看到了没有,HKEY_CLASSES_ROOT/htmlfile/shell有8项,除了系统默认的Edit,open,Print
等5项外,有三项就是外部浏览器的键值,Shell主键值@="iWander"就是指"iWander"为默认
浏览器,如果@='FantasiaWebExplorer',就指“FantasiaWebExplorer”为默认浏览器