设置便携版应用为默认网页浏览器
Windows 7的“默认程序”设置不识别便携版网页浏览器,无法关联为网络协议应用。
操作方法
- 01
修改以下内容中应用位置,保存为.reg文件,执行。
- 02
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaHTML] @="Opera HTML" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaHTML\DefaultIcon] @="\"D:\\360\\Opera\\launcher.exe\",0" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaHTML\shell] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaHTML\shell\open] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaHTML\shell\open\command] @="\"D:\\360\\Opera\\launcher.exe\" -url \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaURL] @="Opera URL" "URL Protocol"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaURL\DefaultIcon] @="\"D:\\360\\Opera\\launcher.exe\",0" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaURL\shell] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaURL\shell\open] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaURL\shell\open\command] @="\"D:\\360\\Opera\\launcher.exe\" -url \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaPortable] "LocalizedString"="Opera Portable Edition" @="Opera Portable" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaPortable\Capabilities] "ApplicationName"="Opera Portable Edition" "ApplicationDescription"="Opera web browser bundled with a PortableApps.com Launcher as a portable app, so you can take your bookmarks, extensions and saved passwords with you." "ApplicationIcon"="\"D:\\360\\Opera\\launcher.exe\",0" "Hidden"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaPortable\Capabilities\FileAssociations] ".htm"="OperaHTML" ".html"="OperaHTML" ".shtml"="OperaHTML" ".xht"="OperaHTML" ".xhtml"="OperaHTML" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaPortable\Capabilities\StartMenu] "StartMenuInternet"="OperaPortable" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaPortable\Capabilities\URLAssociations] "http"="OperaURL" "https"="OperaURL" "ftp"="OperaURL" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaPortable\DefaultIcon] @="\"D:\\360\\Opera\\launcher.exe\",0" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaPortable\shell] [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaPortable\shell\open] [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaPortable\shell\open\command] @="\"D:\\360\\Opera\\launcher.exe\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaPortable\shell\properties] [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaPortable\shell\properties\command] @="\"D:\\360\\Opera\\launcher.exe\" -preferences" [HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications] "Opera Portable"="Software\\Clients\\StartMenuInternet\\OperaPortable\\Capabilities"
- 03
进入默认应用设置,手动设置默认应用。