How can I bring my list of menus when I right click on my exe?

Rohan Pande 445 Reputation points
2023-12-18T05:44:20.5633333+00:00

Hi,

I want to have only my application have some of my own menus. I have tried this as said in the link mentioned here. Did I miss anything here?

Something similar how OneDrive comes here but it comes for every file type. I just want only on my application exe file type only. Can this be possible?

User's image

Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Minxin Yu 13,506 Reputation points Microsoft External Staff
    2023-12-18T08:07:35.3+00:00

    Hi, Rohan Pande

    root: Computer\HKEY_CLASSES_ROOT\exefile\shell\
    create your key. Such as the picture below

    User's image

    Then add string value in key: AppliesTo.

    User's image

    Set value: System.ItemName:"your app name" . (without exe extension and path). It will be suitable for all exefiles with the name.
    Add command key and modified the default value.
    Then close RegEdit.

    On Win 11, you need to click show more options to see it.
    User's image

    User's image

    Best regards,

    Minxin Yu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.