Open Microsoft Store App from CMD

Profile picture of ben

Draft

Mar 31, 2024

·

2 min read

·

396 Views

You probably sometimes need to give an Application path for app automating purpose or something like remote control.

But how can you get the path of a Microsoft Store App or open it from the Command Line?

Here are the steps:

Step 1: Open The Apps Folder

Windows Explorer has a feature where you can view all the apps your device has installed, which includes all the Microsoft Store Apps. To open this “folder”, you just need to press Win + R and enter shell:AppsFolder.

Now press enter, and you see an explorer virtual folder with all your apps:

Step 2: Create an App Shortcut

Right-click your Microsoft Store App and select “Create Shortcut”:

As the applications “folder” is not really a folder, Windows is going to ask you to create a shortcut on the Desktop instead, as you can't add files to this virtual folder.

Just click on yes. You may move the shortcut later.

Step 3: Using the Shortcut

Now that you created an application shortcut, you are finally able to open the Microsoft Store App via the Command Line via the shortcut. You can now also finally reference it in applications like Sunshine, about which I also write a blog post in my DevsForDevs profile.

Check the file name and path in its properties:

Then enter it in CMD like this:

That's all. Now you can open any Microsoft App via a file path!


Profile picture of ben

Written By

Ben Herbst

No bio found