Windows 10: How to add .exe parameter / argument to an 'Open With' Registry entry?

Discus and support How to add .exe parameter / argument to an 'Open With' Registry entry? in Windows 10 Support to solve the problem; I have a Windows application that I need to run with an argument (i.e. switch / parameter) after its executable name. How can I run such an application... Discussion in 'Windows 10 Support' started by Flummox, Jan 2, 2021.

  1. Flummox Win User

    How to add .exe parameter / argument to an 'Open With' Registry entry?


    I have a Windows application that I need to run with an argument (i.e. switch / parameter) after its executable name. How can I run such an application from the Open With menu complete with it's argument?

    For example: run app.exe /parameters instead of just app.exe

    I've tried editing the relevant .exe entry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xxx but it made no difference (the app still opened in its default state and ignored the added switch).

    To be clear, I am talking only about Open With sub-menu entries, I'm not talking about how to add or edit an entry to the top-level context menu of a file type.

    :)
     
    Flummox, Jan 2, 2021
    #1
  2. ryanly Win User

    GPU-Z what command line parameter ?

    Current /? (-?) or / help (-help) parameter is invalid
     
    ryanly, Jan 2, 2021
    #2
  3. dalchina Win User
    Entries in Registry

    I think this could be related to a compatibility mode being applied to these programs.

    E.g.
    windows registry - Get "SIGN.MEDIA"-Id for compatibility-mode in Windows7 - Super User

    You will find more if you do the search suggested above.

    E.g. your question was asked here:
    Lots of dead EXE files listed in registry Solved - Windows 7 Help Forums

    Is the path similar to this?
    HKEY_USERS\S-1-5-21-1412963132-789858852-2145561432-1000\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted
     
    dalchina, Jan 2, 2021
    #3
  4. Naki Win User

    How to add .exe parameter / argument to an 'Open With' Registry entry?

    GPU-Z what command line parameter ?

    Suggestion: /? (-?) and /help (-help) command-line arguments to show a list of all possible arguments in a small window. *Smile How to add .exe parameter / argument to an 'Open With' Registry entry? :)
     
    Naki, Jan 2, 2021
    #4
Thema:

How to add .exe parameter / argument to an 'Open With' Registry entry?

Loading...
  1. How to add .exe parameter / argument to an 'Open With' Registry entry? - Similar Threads - add exe parameter

  2. How to add .exe parameter / argument to an 'Open With' Registry entry?

    in Windows 10 Software and Apps
    How to add .exe parameter / argument to an 'Open With' Registry entry?: I have a Windows application that I need to run with an argument (i.e. switch / parameter) after its executable name. How can I run such an application from the Open With menu complete with it's argument? For example: run app.exe /parameters instead of just app.exe I've...
  3. Registry Editor and Exe Files won't open

    in Windows 10 Network and Sharing
    Registry Editor and Exe Files won't open: I recently changed the wrong value in the registry editor by accident, and now exe files wont open. I can't go back in to registry editor because it is an exe file. I have tried many things, like changing cmd.exe to cmd.com and opening command prompt, but nothing I do inside...
  4. Incorrect parameter and can't start .exe

    in Windows 10 Ask Insider
    Incorrect parameter and can't start .exe: I've had this problem a couple of months ago but after resetting hundreds of time it fixed itself, however it appeared again today. I don't know what caused it but it prevents me from opening any windows apps (spotify, store etc.). In addition to that it also prevents me from...
  5. "Open With" menu - registry entries mysterious

    in Windows 10 Network and Sharing
    "Open With" menu - registry entries mysterious: I got tired of seeing an old version of Adobe Audition in my "Open With" menu for .wav files, so I tried to go to the registry to delete it. But the registry entries are really weird. Here is a screenshot of the Open With menu overlaid with regedit showing the relevant keys...
  6. Entries in Registry

    in Windows 10 Support
    Entries in Registry: Hello, While making some registry editing, found 17 entries named "Sign.Media". Don't know what it is, have not any program this name. Can I remove them from the registry ? Answers will be appreciated Thanks 140198
  7. Invalid Registry for Entry

    in Windows 10 Network and Sharing
    Invalid Registry for Entry: HELP!!!!! I cannot open any photos as I keep getting Invalid Registry for Entry message. What is that? Up until a few days ago I had no problem. Can anyone help me?...
  8. Creating an MPO registry entry

    in Windows 10 Software and Apps
    Creating an MPO registry entry: I can copy the .Jpg registry entry and then by changing ".jpg" to ".mpo" in all places, MPO thumbnails and tag details can be displayed. I have also found that removing the fulldetails kills the details option when looking at properties. MPO is basically a container for...
  9. Duplicate entries in registry

    in Windows 10 Support
    Duplicate entries in registry: I have found hundreds of duplicate entries in Windows 10 registry, is there a way to remove them simply? Just a few: [img] 99409
  10. Garbled Registry Entries

    in Windows 10 Support
    Garbled Registry Entries: Hello, Was looking at registry to make a backup of some entries and saw the following garbled entries. Was wondering what this was all about. Recently, my machine, after latest windows updates, has been having issues waking up after Hibernate. This issue seemed to be...