How to open URL in Microsoft Edge from the command line?

前端 未结 12 703
天涯浪人
天涯浪人 2020-11-29 23:44

I need to open URL in Microsoft Edge (on Windows 10). When I invoke

start shell:AppsFolder\\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge http://www.go         


        
12条回答
  •  一整个雨季
    2020-11-30 00:12

    I want to complement other answers here in regards to opening a blank tab in Microsoft Edge from command-line.

    One observation that I want to add from my end is that Windows doesn't detect the command microsoft-edge if I remove the trailing colon. I thought it would be the case when I've to open the browser without mentioning the target URL e.g. in case of opening a blank tab.

    How to open a blank tab in Microsoft Edge?

    • From run prompt - microsoft-edge:about:blank
    • From command prompt - start microsoft-edge:about:blank

    You can also initiate a search using Edge from run prompt. Let's say I've to search Barack Obama then fire below command on run prompt-

    microsoft-edge:Barack Obama
    

    It starts Microsoft's Bing search website in Edge with Barack Obama as search term.

提交回复
热议问题