Finding the executable path for a Windows 10 Store App
![Finding the executable path for a Windows 10 Store App](/content/images/size/w1200/2024/03/keyboard.jpg)
I recently started to play around with AutoHotkey to map some of my everyday programs to new short keys. I came unstuck, however, when I wanted to map Trello, a Windows 10 Store App, as I could not find the executable path to add to the script.
After searching online, I found the somewhat convoluted process needed. Here are the instructions for finding the executable path for a Windows 10 Store App.
Instructions
Run the following command to open the AppsFolder. This can be done in either the Run terminal or directly in Explorer.
shell:AppsFolder
Find your app and create a shortcut on your desktop.
Right-click the newly created shortcut and select the Properties tab. Take a note of the Target Type
as we'll need this later.
![f23c7c7d](https://richardballard.co.uk/content/images/2024/03/f23c7c7d.png)
Now open PowerShell and run the following
get-appxpackage > 123.txt
This will create a new file named 123.txt
at the same path as your PowerShell. Most likely this will have been the default location and can be accessed by navigating to %UserProfile%
in Explorer.
Open the 123.txt
file and use Ctrl + F
to find the PackageFamilyName
for the TargetType
we took note of earlier.
Copy the InstallLocation
and browse to this in Explorer.
![1b8d7e63](https://richardballard.co.uk/content/images/2024/03/1b8d7e63.png)
![93ac0ac0](https://richardballard.co.uk/content/images/2024/03/93ac0ac0.png)
Open the AppManifest.xml
and find and take note of the Id
in <Application>
![f0d8960e](https://richardballard.co.uk/content/images/2024/03/f0d8960e.png)
Using this Id
value we can build up the executable path, replacing <PackageFamilyName>
and <Id>
with the values we've taken note of above.
explorer.exe shell:appsFolder\<PackageFamilyName>!<Id>
So in our Trello example, the executable path is
explorer.exe shell:appsFolder\45273LiamForsyth.PawsforTrello_7pb5ddty8z1pa!trello
To confirm the path is correct, open the Run command (Win + R
) and enter the path. Hitting Enter should open the application.