How can I run an app installed from Windows Store () from the command line, please?
13 Answers
start shell:AppsFolder\Microsoft.WindowsTerminal_8wekyb3d8bbwe!AppBy default an alias is enabled for Windows Terminal, so you can also use:
"%userprofile%\AppData\Local\Microsoft\WindowsApps\wt.exe"Example app not from Microsoft:
start shell:AppsFolder\XINGAG.XING_xpfg3f7e9an52!AppWhere the string XINGAG.XING_xpfg3f7e9an52
can be found as folder in %userprofile%\AppData\Local\Packages
Other ways of doing this are explained here
2An easy way is to create a shortcut and then from the command line to execute the ".lnk" file generated.
1Starting a normal app from the command line (or a script, or a scheduled task) is easy. Just start the executable. But apps that are installed from the Windows Store don't have executables. So how do you start them?
The simplest way is if the app has a custom protocol. If it does then it's just a case of calling start and then the protocol. So, you could do something like this:
start microsoftvideo:If you want to add a custom protocol to your app see
If the app doesn't have its own custom protocol then you'll have to launch it via the shell. Actually, the shell has its own protocol so you call something like this:
start shell:AppsFolder\Microsoft.WindowsStore_8wekyb3d8bbwe!App