标题:
[系统相关]
求助大神:把网页默认打开方式改成IE打开
[打印本页]
作者:
楚牛香
时间:
2019-10-10 10:23
标题:
求助大神:把网页默认打开方式改成IE打开
代码如下,
assoc .shtml=shtmlfile
assoc .htm=htmfile
assoc .html=htmlfile
ftype shtmlfile="C:\Program Files (x86)\Internet Explorer\iexplorer.exe" "%%1"
ftype htmlfile="C:\Program Files (x86)\Internet Explorer\iexplorer.exe" "%%1"
ftype htmfile="C:\Program Files (x86)\Internet Explorer\iexplorer.exe" "%%1"
现在控制面板里的默认程序是谷歌游览器,我刷完脚本,去注册表里确认,的确被改了。但是控制面板里还是显示谷歌,然后打开文件的时候,的确还是用谷歌打开。
请问各位大神,是代码哪里不对吗?
作者:
codegay
时间:
2019-10-10 21:48
很多设置和环境是被windows读到内存中的,所以改了有些设置或者注册表,需要重启或者注销过才会生效。
欢迎光临 批处理之家 (http://www.bathome.net/)
Powered by Discuz! 7.2