Page 1 of 3 123 LastLast
  1.    22 Jul 2016 #1
    Join Date : Jul 2016
    Posts : 4
    Windows 10

    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.    03 Mar 2017 #2
    Join Date : Mar 2017
    Posts : 2
    Windows 10 Pro , XUbuntu

    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
    Join Date : Jul 2016
    Posts : 4
    Windows 10
    Thread Starter

    Have you done it? It seem fine on my side.
      My ComputerSystem Spec
  4.    03 Mar 2017 #4
    Join Date : Mar 2017
    Posts : 2
    Windows 10 Pro , XUbuntu

    Quote Originally Posted by benny10033 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
    Join Date : Jul 2016
    Posts : 4
    Windows 10
    Thread Starter

    Great!
      My ComputerSystem Spec
  6.    09 Apr 2017 #6
    Join Date : Sep 2015
    Posts : 65
    Win10

    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:	50 
Size:	44.7 KB 
ID:	129079.
    Last edited by vel2000; 09 Apr 2017 at 04:47.
      My ComputerSystem Spec
  7.    09 Apr 2017 #7
    Join Date : Jul 2016
    Posts : 4
    Windows 10
    Thread Starter

    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.    09 Apr 2017 #8
    Join Date : Oct 2013
    Posts : 24,487
    64-bit Windows 10 Pro build 17017
      My ComputersSystem Spec
  9.    03 May 2017 #9
    Join Date : May 2017
    Posts : 1
    Windows 10

    Could someone please post how to do this in a vbscript, for those of us who prefer vbs? Thanks!
      My ComputerSystem Spec
  10.    13 May 2017 #10
    Join Date : May 2017
    Posts : 10
    Windows 10 Pro (x64)

    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


Similar Threads
Thread Forum
Solved Launch Windows Update from Command line?
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?
Windows Updates and Activation
Installation & Upgrade PowerShell PackageManagement (OneGet) - Install Apps from Command Line
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...
Tutorials
Command-line method using clipboard to copy multiple images
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...
General Support
Opening windows store apps from command line
How do I open windows store apps like Hulu from the command prompt?
Software and Apps
setting default apps from command line?
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,...
Software and Apps
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 01:24.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums