{"id":3469,"date":"2016-07-12T13:19:59","date_gmt":"2016-07-12T07:49:59","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=3469"},"modified":"2026-02-22T16:47:15","modified_gmt":"2026-02-22T11:17:15","slug":"microsoft-edge-url-shortcut","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/microsoft-edge-url-shortcut\/","title":{"rendered":"Create Website Shortcuts (.URL) that Open in Edge"},"content":{"rendered":"<p>This page lists some of the command-line switches for the new Microsoft Edge (chromium) browser.<br \/>\n<!--more--><\/p>\n<h3>Microsoft Edge (Chromium) command-line switches<\/h3>\n<p>The new Microsoft Edge (Chromium) is a classic desktop app that supports command-line arguments as Chrome does. Here are some examples:<\/p>\n<p>To start Edge in private mode:<\/p>\n<pre>msedge --inprivate<\/pre>\n<p>To open a particular website:<\/p>\n<pre>msedge https:\/\/docs.microsoft.com\/en-us\/\r\n\r\n(or)\r\n\r\nmicrosoft-edge:http:\/\/www.google.com\r\n(Yes! the <strong>microsoft-edge:<\/strong> protocol still works in the new MS Edge)<\/pre>\n<p>To start Microsoft Edge and restore the previous session:<\/p>\n<pre>msedge --restore-last-session<\/pre>\n<p>The above command is equivalent to\u00a0right-clicking on the New tab or on the title bar and clicking <strong>Reopen closed window<\/strong> in the Context Menu. This option is useful if you have closed Edge with many open tabs and\u00a0need to relaunch it with the same tabs open.<\/p>\n<pre>msedge --start-maximized<\/pre>\n<p>The above command starts Edge in maximized mode always, regardless of the window position when you closed it last time.<\/p>\n<p>Since Microsoft Edge is based on Chromium, many of the Chromium command-line switches would apply to MS Edge as well.<\/p>\n<pre>List of Chromium Command Line Switches \u00ab Peter Beverloo:\r\nhttps:\/\/peter.sh\/experiments\/chromium-command-line-switches\/<\/pre>\n<hr \/>\n<h3>Additional Tip: Create a Website shortcut that opens in Edge<\/h3>\n<p>Double-clicking website shortcuts open in whatever you&#8217;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.<\/p>\n<p>Many of the built-in universal apps register a URL protocol by default; for example, running <code>calculator:<\/code> from the Run dialog launches Calculator. Likewise, Microsoft Edge also implements a URL protocol named <code>microsoft-edge:<\/code><\/p>\n<p>To create a website shortcut (.url) for google.com, that opens in Edge, use the following target:<\/p>\n<pre>microsoft-edge:http:\/\/www.google.com<\/pre>\n<p>The resulting file will be an internet shortcut (<code>.url<\/code>) instead of the standard shortcut (<code>.lnk<\/code>), as the shortcut target is an URL protocol.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3470\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/07\/edge-url-shortcut-1.png\" alt=\"edge url shortcut\" width=\"363\" height=\"509\" \/><\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This page lists some of the command-line switches for the new Microsoft Edge (chromium) browser.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[782],"tags":[310],"class_list":["post-3469","post","type-post","status-publish","format-standard","hentry","category-edge","tag-microsoft-edge"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":68125,"url":"https:\/\/www.winhelponline.com\/blog\/cant-change-default-app-svg-files\/","url_meta":{"origin":3469,"position":0},"title":"[Fix] Cannot change default app for .SVG files","author":"Ramesh","date":"December 17, 2023","format":false,"excerpt":"On your Windows 11 computer, you may be unable to change the default app for .SVG files. When you right-click on an .SVG file and click Open with..., \"Just Once\" is the only option shown; there is no \"Always\" option. When right-clicking on a .SVG file and clicking Properties, the\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5138,"url":"https:\/\/www.winhelponline.com\/blog\/microsoft-edge-all-tabs-close-prompt-restore\/","url_meta":{"origin":3469,"position":1},"title":"Enable Warning on Closing Multiple Tabs in Microsoft Edge","author":"Ramesh","date":"January 13, 2017","format":false,"excerpt":"By default, Microsoft Edge doesn't issue a warning if you close your Microsoft Edge browser window with multiple tabs open. Sometimes we may accidentally close the browser window and wondering how to restore the session back. You can press Ctrl + Shift + T\u00a0 to reopen the tabs closed during\u2026","rel":"","context":"In &quot;Microsoft Edge&quot;","block_context":{"text":"Microsoft Edge","link":"https:\/\/www.winhelponline.com\/blog\/category\/edge\/"},"img":{"alt_text":"edge tab close warning flag","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/01\/edge-flags-tab-close-warning.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/01\/edge-flags-tab-close-warning.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/01\/edge-flags-tab-close-warning.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/01\/edge-flags-tab-close-warning.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":27162,"url":"https:\/\/www.winhelponline.com\/blog\/two-microsoft-edge-entries-default-apps\/","url_meta":{"origin":3469,"position":2},"title":"Why there are Two &#8220;Microsoft Edge&#8221; Entries in Default Apps","author":"Ramesh","date":"August 16, 2022","format":false,"excerpt":"Though the legacy Microsoft Edge has been entirely replaced by Edge Chromium, even on Windows 10 21H2 computers, you may see two \"Microsoft Edge\" entries in Default Apps. The first one in the above image is the New Microsoft Edge (Edge Chromium), and the second one showing a blank icon\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"two microsoft edge default apps","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/08\/microsoft-edge-two-entries-default-apps.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":8878,"url":"https:\/\/www.winhelponline.com\/blog\/edge-chromium-frequently-asked-questions\/","url_meta":{"origin":3469,"position":3},"title":"Edge Chromium ~ FAQ &#038; How-Tos","author":"Ramesh","date":"April 26, 2019","format":false,"excerpt":"Microsoft decided to discontinue its EdgeHTML proprietary browser engine which was used in the Edge web browser. In December 2018, Microsoft announced that Edge was being rebuilt as a Chromium-based browser, which means using the Blink engine and terminating EdgeHTML. Let's call the new Edge browser \"Microsoft Edge (Chromium)\" or\u2026","rel":"","context":"In &quot;Microsoft Edge&quot;","block_context":{"text":"Microsoft Edge","link":"https:\/\/www.winhelponline.com\/blog\/category\/edge\/"},"img":{"alt_text":"edge bottom download pane","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/edge-downloads-panel.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5460,"url":"https:\/\/www.winhelponline.com\/blog\/pin-website-taskbar-edge-windows-10\/","url_meta":{"origin":3469,"position":4},"title":"Pin Website to Taskbar Using Edge in Windows 10","author":"Ramesh","date":"October 11, 2017","format":false,"excerpt":"This post tells you how to pin a website to the Taskbar using the Microsoft Edge web browser. Pin Website to Taskbar Using Edge Microsoft Edge (Chromium) Open Microsoft Edge (Chromium) and open a webpage. Click the ellipsis (three dots) icon on the top right. Click More tools, and click\u2026","rel":"","context":"In &quot;Microsoft Edge&quot;","block_context":{"text":"Microsoft Edge","link":"https:\/\/www.winhelponline.com\/blog\/category\/edge\/"},"img":{"alt_text":"edge chromium pin to start or pin to taskbar","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/10\/ms-edge-chromium-pin-start-taskbar-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/10\/ms-edge-chromium-pin-start-taskbar-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/10\/ms-edge-chromium-pin-start-taskbar-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":62063,"url":"https:\/\/www.winhelponline.com\/blog\/html-association-default-apps-fix\/","url_meta":{"origin":3469,"position":5},"title":"Can&#8217;t Change HTML Association when MS Edge is the Default App","author":"Ramesh","date":"September 20, 2023","format":false,"excerpt":"You may be unable to change the default app for HTML file type in Windows 11. The file type may be associated with Microsoft Edge, and you cannot change the default app to Code Editor, Visual Studio Code, or any other app. When you try to change it via Default\u2026","rel":"","context":"In &quot;Microsoft Edge&quot;","block_context":{"text":"Microsoft Edge","link":"https:\/\/www.winhelponline.com\/blog\/category\/edge\/"},"img":{"alt_text":"html files cannot associate in windows 11","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/edge-html-asso-4.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/edge-html-asso-4.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/edge-html-asso-4.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/3469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=3469"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/3469\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=3469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=3469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=3469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}