Windows 10: Method to open any Windows 10 Apps from command line Solved

  1.    22 Jul 2016 #1

    Method to open any Windows 10 Apps from command line


    Hi everyone, I am here to share how to open any Windows 10 Apps from command line.

    1. Open
    Code:
    shell:AppsFolder
    2. Find your app
    3. Right click and choose "Create Shortcut"
    4. Yes, placed the shortcut on desktop
    5. Right click the shortcut and choose "Properties"
    6. Take a look on the Target Type
    7. Open powershell (by opening start and type powershell)
    8. Type
    Code:
    get-appxpackage > 123.txt
    9. Win-key + r then put "%UserProfile%" in the box and enter
    10. Open 123.txt
    11. Find the PackageFamilyName in the txt that matches with the Target Type you from the properties (You can use ctrl + f)
    12. Browse to the InstallLocation corresponded to the PackageFamilyName
    13. Open the AppxManifest.xml
    14. Look for "Executable=" for the app you want. (As some app package contains more than one app, such mail and calendar are under the same packetage)
    15. On the same line, find the ID of the app
    16 Then your command line is :
    Code:
    explorer.exe shell:appsFolder\put-your-PackageFamilyName-here!put-your-app-ID-here
    Such as mail:
    Code:
    explorer.exe shell:appsFolder\microsoft.windowscommunicationsapps_8wekyb3d8bbwe!microsoft.windowslive.mail
                                  ^Here is the PackageFamilyName                   !^Here is the app ID
    Last edited by benny10033; 2 Weeks Ago at 21:53.
      My System SpecsSystem Spec


  2. Posts : 2
    Windows 10 Pro , XUbuntu
       2 Weeks Ago #2

    really?
    followed all the steps to have a shell code to launch mail app from rainmeter.
    then i saw your example
    MAIL
      My System SpecsSystem Spec

  3.    2 Weeks Ago #3

    Have you done it? It seem fine on my side.
      My System SpecsSystem Spec


  4. Posts : 2
    Windows 10 Pro , XUbuntu
       2 Weeks Ago #4

    benny10033 said: View Post
    Have you done it? It seem fine on my side.
    yes, it worked very well. thank you
      My System SpecsSystem Spec

  5.    2 Weeks Ago #5

    Great!
      My System SpecsSystem Spec


 

Related Threads
Solved Launch Windows Update from Command line? in Windows Updates and Activation
Need to open windows update, but it's not where it used to be and I can't use the start button....... How can I open it?
If you are not familiar with package managers I recommend you read first the short Chocolatey package manager tutorial at our sister site Windows Eight Forums as an introduction to this tutorial: Chocolatey - Install Apps from Command Line. Although...
After a lot of searching i have only found two possible tools that might do this. The one that seems rated best is called CopyQ. While it did install and appears to be available, I cannot seem to state to function correctly to get it to copy an...
How do I open windows store apps like Hulu from the command prompt?
in win7, after installation and setting the correct file associations, the correct program would start upon double clicking in win10 however, it popups wanting you to set a ?default app?. ive seen this happen for klite codec pack, firefox,...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 05:08.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums