This page lists some of the command-line switches for the new Microsoft Edge (chromium) browser.
Microsoft Edge (Chromium) command-line switches
The new Microsoft Edge (Chromium) is a classic desktop app that supports command-line arguments as Chrome does. Here are some examples:
To start Edge in private mode:
To open a particular website:
msedge https://docs.microsoft.com/en-us/ (or) microsoft-edge:http://www.google.com (Yes! the microsoft-edge: protocol still works in the new MS Edge)
To start Microsoft Edge and restore the previous session:
The above command is equivalent to right-clicking on the New tab or on the title bar and clicking Reopen closed window in the Context Menu. This option is useful if you have closed Edge with many open tabs and need to relaunch it with the same tabs open.
The above command starts Edge in maximized mode always, regardless of the window position when you closed it last time.
Since Microsoft Edge is based on Chromium, many of the Chromium command-line switches would apply to MS Edge as well.
List of Chromium Command Line Switches « Peter Beverloo: https://peter.sh/experiments/chromium-command-line-switches/
Additional Tip: Create a Website shortcut that opens in Edge
Double-clicking website shortcuts open in whatever you’ve set as the default web browser. But if you want to create website shortcuts that always open in Microsoft Edge no matter what your default browser is, here is how to do that.
Many of the built-in universal apps register a URL protocol by default; for example, running
calculator: from the Run dialog launches Calculator. Likewise, Microsoft Edge also implements a URL protocol named
To create a website shortcut (.url) for google.com, that opens in Edge, use the following target:
The resulting file will be an internet shortcut (
.url) instead of the standard shortcut (
.lnk), as the shortcut target is an URL protocol.
In the website shortcut properties dialog, you can change the icon and assign a shortcut key as required. Double-clicking on the shortcut launches the URL in Microsoft Edge.
One small request: If you liked this post, please share this?One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!