Sly 发表于 2025-3-26 10:41

Windows 10(新版)、11下打开IE+本地html页面最简单的方式是什么?

本帖最后由 Sly 于 2025-3-26 11:09 编辑

还是会有极个别行业网站强依赖IE。但是只是个别,所以无需修改全局设计。
目前的方法是建立了一个VBS脚本:

Set ie = WScript.CreateObject("InternetExplorer.Application")
ie.Navigate "C:\……\IEStart.html"
ie.Visible=true

这个IEStart.html是写的一个简单的起始页(包括那几个网站的链接),省的打开收藏夹(因为收藏夹实际上已经废了,点击里面的网站会自动触发edge)。

其实还是有点麻烦,而且有的时候会出现点开就没反应了。

xy. 发表于 2025-3-26 10:51

"C:\Program Files\Internet Explorer\iexplore.exe" "about:blank" -embedding

Sly 发表于 2025-3-26 10:56

本帖最后由 Sly 于 2025-3-26 11:04 编辑

xy. 发表于 2025-3-26 10:51


嗯嗯,谢谢,基本可行了。

"C:\Program Files\Internet Explorer\iexplore.exe" "C:\Root\IEStart.html" -embedding

只是打开后有问题(无法访问此页面),不能定位C:\Root\IEStart.html(被改成了http://%22file///C:/Root/IEStart.html)。因为about:blank到目标网站目前还是太麻烦。

winklejude 发表于 2025-3-26 11:11

"C:\Program Files\Internet Explorer\iexplore.exe" http://www.163.com/ -Embedding

Sly 发表于 2025-3-26 11:33

winklejude 发表于 2025-3-26 11:11
"C:\Program Files\Internet Explorer\iexplore.exe" http://www.163.com/ -Embedding

见3楼….

gou123 发表于 2025-3-26 12:21

最简单的是安装蚂蚁浏览器,纯粹是调用ie核心的ie套壳浏览器。https://www.myie9.com/

yang2jie1 发表于 2025-3-26 15:07

本帖最后由 yang2jie1 于 2025-3-26 15:14 编辑

1、
start "C:\Program Files\Internet Explorer\iexplore.exe" "file://C:\Root\IEStart.html"
另存为 牛马拉磨启动器.bat 试试这样呢?


2、创建桌面快捷方式, 指向 "C:\Program Files\Internet Explorer\iexplore.exe" "file://C:\Root\IEStart.html"
3、 给IE首页设置你指定的本地页面。

因为刚我自己远程一个自己的 server2019试了一下 三个方案都OK。 首推快捷方式。这个可以直接放桌面指向不同的页面。

Sly 发表于 2025-3-26 18:13

yang2jie1 发表于 2025-3-26 15:07
1、
start "C:\Program Files\Internet Explorer\iexplore.exe" "file://C:\Root\IEStart.html"
另存为 牛 ...

好像在win11上会触发edge直接弹出来了

yang2jie1 发表于 2025-3-26 23:38

本帖最后由 yang2jie1 于 2025-3-26 23:39 编辑

Sly 发表于 2025-3-26 18:13
好像在win11上会触发edge直接弹出来了

晚上无聊,用家里电脑 win11 24h2(26100.3476) 验证OK结合上述我说的快捷方式大法。方法参考
https://baijiahao.baidu.com/s?id=1827410927641936831&wfr=spider&for=pc


不对看错了。 不过是能单独打开ie了。

winklejude 发表于 2025-3-27 11:47

Sly 发表于 2025-3-26 11:33
见3楼….

"因为about:blank到目标网站目前还是太麻烦。"    所以给你加了个地址啊,直接可以跳过去

Sly 发表于 2025-3-27 12:31

winklejude 发表于 2025-3-27 11:47
"因为about:blank到目标网站目前还是太麻烦。"    所以给你加了个地址啊,直接可以跳过去 ...

地址只能是http的网页,本地页面就不行了。

就那几个网站用 导航页就是本地html了

winklejude 发表于 2025-3-27 17:38

Sly 发表于 2025-3-27 12:31
地址只能是http的网页,本地页面就不行了。

就那几个网站用 导航页就是本地html了 ...

找到个脚本,可以在24H2下使用,之前的方法24H2失效了
https://www.walimao.com/archives/537.html
页: [1]
查看完整版本: Windows 10(新版)、11下打开IE+本地html页面最简单的方式是什么?