Marius Gheorghe

Building software : make it work, make it good, make it fast

Run Edge browser from command line / keyboard shortcut

I run all of my apps from keyboard shortcuts with AutoHotkey (great utility, i highly recommended), so i wanted to do the same thing with Edge.
But with Edge it's a bit tricky because it's a "modern/univeral app" and those types of apps require a certain unique server parameter when you invoke them, directly from command line.
But i've figured out that Edge registers it's own shell extension and we can use that to launch it. So directly it can be done like this :
powershell.exe "start microsoft-edge:http://google.com"

Obviously feel free to either replace or delete the http://google.com part.
Comments are closed