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

Discus and support Method to open any Windows 10 Apps from command line in Windows 10 Software and Apps to solve the problem; Let's see what you're using to create the shortcut with to see if anything may stand out. Discussion in 'Windows 10 Software and Apps' started by benny10033, Jul 21, 2016.

  1. Brink
    Brink New Member

    Method to open any Windows 10 Apps from command line


    Let's see what you're using to create the shortcut with to see if anything may stand out.
     
    Brink, May 13, 2017
    #16

  2. I'm not should what you mean, is there a particular syntax that you're suppose to use in the target box?
     
    WinXUser78, May 13, 2017
    #17
  3. Brink
    Brink New Member
    Brink, May 13, 2017
    #18
  4. Method to open any Windows 10 Apps from command line

    I think I'll just use it from a script and create a shortcut from that, much less complicated that way.
     
    WinXUser78, May 13, 2017
    #19
  5. Brink
    Brink New Member
    What app did you want a shortcut of?

    I'll post an example for it to help if you like.
     
    Brink, May 13, 2017
    #20
  6. Brink
    Brink New Member
    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.
     
    Brink, May 13, 2017
    #21
  7. 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 *Cool
     
    WinXUser78, May 13, 2017
    #22
  8. Brink
    Brink New Member

    Method to open any Windows 10 Apps from command line

    You're most welcome. *Smile
     
    Brink, May 13, 2017
    #23
  9. scottys94 Win User
    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.

    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[/quote] 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[/quote] Such as mail:
    Code: explorer.exe shell:appsFolder\microsoft.windowscommunicationsapps_8wekyb3d8bbwe!microsoft.windowslive.mail ^Here is the PackageFamilyName !^Here is the app ID[/quote] [/quote]
     
    scottys94, Sep 15, 2017
    #24
  10. Is it possible to launch them minimised? For example, it seems the simple command: "start Skype:" is now enough to launch an app. Tried "start /min Skype:", it opens the app but not minimized.
     
    AmigaRoots, Apr 5, 2018
    #25
Thema:

Method to open any Windows 10 Apps from command line

Loading...
  1. Method to open any Windows 10 Apps from command line - Similar Threads - Method open Apps

  2. Open a program and it's data file with command line command

    in Windows 10 Gaming
    Open a program and it's data file with command line command: Been a long time since I used MSDOS-style syntax to create a batch file or edit a shortcut path. Could use some help.Would like to edit the path of a shortcut .lnk create a batch file don't know which one is best to run Microsoft Money Plus C:\Program Files x86\Microsoft...
  3. Open a program and it's data file with command line command

    in Windows 10 Software and Apps
    Open a program and it's data file with command line command: Been a long time since I used MSDOS-style syntax to create a batch file or edit a shortcut path. Could use some help.Would like to edit the path of a shortcut .lnk create a batch file don't know which one is best to run Microsoft Money Plus C:\Program Files x86\Microsoft...
  4. Windows 10 Command Line

    in Windows 10 Customization
    Windows 10 Command Line: Microsoft Windows [Version 10_____________________] c 2019 Microsoft Corporation. All rights reserved. C:\Users\_________>d: D:\>COSMOS\MYTEST\"My Test.mw" D:\> 1 Is there a way to use the command CLS to clear only a portion of contents on a screen? 2 The above code...
  5. Windows 10 Command Line

    in Windows 10 Software and Apps
    Windows 10 Command Line: In the following code I want to erase the second instance of D:\>COSMOS\MYTEST\"My Test.mw" How can I do that? Microsoft Windows [Version 10.0.18363.1016] c 2019 Microsoft Corporation. All rights reserved. C:\Users\Coover> d: D:\> :: move program execution from the...
  6. I can't open any microsoft related apps. I've tried any method, from resetting the app...

    in Windows 10 Ask Insider
    I can't open any microsoft related apps. I've tried any method, from resetting the app...: [ATTACH] submitted by /u/Fauzan_Syahbana [link] [comments] https://www.reddit.com/r/Windows10/comments/ef0t2y/i_cant_open_any_microsoft_related_apps_ive_tried/
  7. Access windows 10 stopwatch from command line.

    in Windows 10 Support
    Access windows 10 stopwatch from command line.: Is it possible to start and stop the windows 10 stopwatch from the command line. I can open the app using the shell:startup trick but unless I use autohotkey or powershell (when I might as well use them for a stopwatch package). I would like to start the stopwatch when a...
  8. Windows Command-Line: The Evolution of the Windows Command-Line

    in Windows 10 News
    Windows Command-Line: The Evolution of the Windows Command-Line: Welcome to the second post in this "Windows Command-Line" series. In this post we'll discuss some of the background & history behind the Windows Command-Line. Specifically, we’ll explore its humble origins in MS-DOS, to its modern-day incarnation supporting tools like...
  9. Opening windows store apps from command line

    in Windows 10 Software and Apps
    Opening windows store apps from command line: How do I open windows store apps like Hulu from the command prompt? 44674
  10. setting default apps from command line?

    in Windows 10 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, utorrent i do unattended...