How can I run an app installed from Windows Store (https://github.com/microsoft/terminal) from the command line, please?
By default an alias is enabled for Windows Terminal, so you can also use:
Example app not from Microsoft:
Where the string
can be found as folder in
Other ways of doing this are explained here
Starting 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:
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: