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

Page 1 of 3 123 LastLast
  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; 03 Mar 2017 at 21:53.
      My ComputerSystem Spec


  2. Posts : 2
    Windows 10 Pro , XUbuntu
       03 Mar 2017 #2

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

  3.    03 Mar 2017 #3

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


  4. Posts : 2
    Windows 10 Pro , XUbuntu
       03 Mar 2017 #4

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

  5.    03 Mar 2017 #5

    Great!
      My ComputerSystem Spec

  6.    09 Apr 2017 #6

    So far so good, but what about shortcuts, which were pinned to the start-menu from inside an app?
    For example, I'm using the "Zattoo" live-stream app.
    Command, which works well:
    Code:
    explorer.exe shell:appsFolder\ZattooEuropaAG.ZattooLiveTV_cwpjhwd4pd0ma!App
    But, this app allows me to pin several channels to the start menu, to run them directly, without starting the app itself first.
    So I need to run the above command line with parameters...
    Where are these kinds of shortcuts stored?

    Click image for larger version. 

Name:	zattoo_tiles.jpg 
Views:	42 
Size:	44.7 KB 
ID:	129079.
    Last edited by vel2000; 09 Apr 2017 at 04:47.
      My ComputerSystem Spec

  7.    09 Apr 2017 #7

    I don't know, but the solution seems to be related to something like this:
    https://www.howtogeek.com/227232/how...in-windows-10/

    But you have to find the parameter after the semicolon first, which I don't know where can I find.
      My ComputerSystem Spec


  8. Posts : 20,689
    64-bit Windows 10 Pro build 16199
       09 Apr 2017 #8
      My ComputersSystem Spec

  9.    2 Weeks Ago #9

    Could someone please post how to do this in a vbscript, for those of us who prefer vbs? Thanks!
      My ComputerSystem Spec


  10. Posts : 10
    Windows 10 Pro (x64)
       1 Week Ago #10

    This is great and all, however it seems that when you launch a Win10 App this way that it create additional 'Windows Explorer' processes that doesn't seem to terminate after you've closed the Win10 Apps. Any way to get around this?
      My ComputerSystem Spec


 
Page 1 of 3 123 LastLast

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 20:29.
Find Us