Page 3 of 3 FirstFirst 123
  1.    13 May 2017 #21
    Join Date : Oct 2013
    Posts : 25,204
    64-bit Windows 10 Pro build 17040

    For example:

    1. Right click on desktop, click on New, and click on Shortcut.

    2. Type microsoft-edge: for the location, and click on Next.

    3. Type a name you want, and click on Finish.
      My ComputersSystem Spec
  2.    14 May 2017 #22
    Join Date : May 2017
    Posts : 10
    Windows 10 Pro (x64)

    Quote Originally Posted by Brink View Post
    For example:

    1. Right click on desktop, click on New, and click on Shortcut.

    2. Type microsoft-edge: for the location, and click on Next.

    3. Type a name you want, and click on Finish.
    Oh I see, it has to be done in the form of a web shortcut. I was creating a file shortcut to the main executable and placing the command in the target box which is why it wasn't working before. Anyway thank you for helping me
    Last edited by WinXUser78; 14 May 2017 at 00:24. Reason: Fixing Typos
      My ComputerSystem Spec
  3.    14 May 2017 #23
    Join Date : Oct 2013
    Posts : 25,204
    64-bit Windows 10 Pro build 17040

    You're most welcome.
      My ComputersSystem Spec
  4.    15 Sep 2017 #24
    Join Date : Sep 2017
    Posts : 1
    Windows 10

    After step 4, an easier option is to Shift + Right-Click on the shortcut and select Copy as Path. Then just paste the path into a script.

    Quote Originally Posted by benny10033 View Post
    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
      My ComputerSystem Spec

 
Page 3 of 3 FirstFirst 123


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 10:36.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums