打开google跳转IE

open.reg

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\openIE]
@="URL:OpenIE Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\openIE\DefaultIcon]
@="iexplore.exe,1"
[HKEY_CLASSES_ROOT\openIE\shell]

[HKEY_CLASSES_ROOT\openIE\shell\open]

[HKEY_CLASSES_ROOT\openIE\shell\open\command]

@="cmd /c set m=%1 & \"C:\\Program Files\\alert\\openIE.bat\" %%m%% & exit"

openIE.bat

@echo off
setlocal enabledelayedexpansion
cd %~dp0
for /f "tokens=*" %%i in (ieExePath.properties) do (
set iepath=%%i
)
set m=%m:openIE:=%
set m="%m:separator=&%"
start "" "%iepath%" %m%
exit

ieExePath.properties

C:\Program Files\Internet Explorer\iexplore.exe

posted @ 2020-08-31 11:31  学海无涯..回头是岸  阅读(700)  评论(0编辑  收藏  举报