Method to open any Windows 10 Apps from command line

Page 1 of 3 123 LastLast

  1. Posts : 4
    Windows 10
       #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 Computer


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

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


  3. Posts : 4
    Windows 10
    Thread Starter
       #3

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


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

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


  5. Posts : 4
    Windows 10
    Thread Starter
       #5

    Great!
      My Computer


  6. Posts : 76
    Win10
       #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?

    Method to open any Windows 10 Apps from command line-zattoo_tiles.jpg.
    Last edited by vel2000; 09 Apr 2017 at 04:47.
      My Computer


  7. Posts : 4
    Windows 10
    Thread Starter
       #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 Computer


  8. Posts : 68,869
    64-bit Windows 11 Pro for Workstations
       #8
      My Computers


  9. Posts : 1
    Windows 10
       #9

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


  10. Posts : 10
    Windows 10 Pro (x64)
       #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 Computer


 

  Related Discussions
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 11:01.
Find Us




Windows 10 Forums