I've been trying to write a script in which I want to launch a web app in Microsoft Edge specifically (if it is installed). But executing the .exe
file doesn't seem to work.
The path that I've found for Edge on my computer, using the task manager as the reference, seems to be C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe
. This part seems a bit arbitrary, as 8wekyb3d8bbwe
in the folder name doesn't really seem like a constant. On another computer, this would probably be different? Furthermore, when I navigate to that folder, and double click MicrosoftEdge.exe
or MicrosoftEdgeCP.exe
, nothing happens.
For comparison I've tried Firefox's .exe
file, and it executes properly from the script by doing:
START "Web App" "%programfiles(x86)%\Mozilla Firefox\firefox.exe" -chrome http://www.example.com/app
Additionally, if possible, can Microsoft Edge be launched without the address bar and the tabs? It's the equivalent to running Firefox with the -chrome
parameter, and Google Chrome with the --app
parameter.