在cmd终端中通过explorer.exe调用默认浏览器打开一个URL(http,https):
> explorer https://google.com
但是,我机器上的 .html 文件已指定为使用编辑器打开,并且资源管理器将在编辑器中打开 HTML 文件。例如,这些将打开编辑器:
> explorer test.html
> explorer file:///C:/Temp/test.html
如何local HTML files
在cmd
使用中打开default browser
?