A simple command line exe to launch Microsoft Edge at a URL.
C++ C# C
Latest commit 9d876bb Aug 23, 2016 @andysterland andysterland committed on GitHub Merge pull request #19 from MicrosoftEdge/fixIssue18
Fix issue18

README.md

Microsoft Edge Launcher

A simple command line exe to launch the Microsoft Edge browser at a URL. Handy if you need to launch Microsoft Edge from the command line or a batch script etc.

Install

  1. Download the latest exe from releases

Usage

MicrosoftEdgeLauncher.exe [url] -k

    url - The URL to open in Microsoft Edge.
    -k  - Keep this program alive for as long as the launched process is alive.

Visual Studio Launching Microsoft Edge

If you're using Visual Studio 2015 you don't need to do this as VS 2015 has built in support for Edge. If you are using an older version of VS and want to be able to F5 launch Edge you'll need to follow the steps below.

  1. Download latest exe from releases
  2. In Visual Studio open the “Browse With…” dialog (right click on a html file in solution explorer)
  3. Add a new program
  4. In the “Add Program” dialog
    1. Program: <path to MicrosoftEdgeLauncher.exe>
    2. Arguments: <leave empty>
    3. Friendly Name: Edge
  5. Once added you should now see “Microsoft Edge” in the F5 drop down
    1. This will not enable debugging of Script from VS, just launching

In the Win10 10049 flight Project Spartan can’t access localhost by default so you need to add the loopback permission. To do that from an admin command prompt:

CheckNetIsolation LoopbackExempt -a -n=Microsoft.MicrosoftEdge_8wekyb3d8bbwe

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.