Share via

"Open" command in Context Menu on EXE files Showing Wrong

Anonymous
2019-06-14T21:57:03+00:00

Dear All,

I made a mistake with registry editing because I thought that some files were not opening. Fortunately, it turned out okay, but this has left me with a strange problem. Whilst opening EXE files, the context menu displays the code "%1" %1, which I remember from the regedit (which I have restored to the defaults, I hope).

This only seems to affect EXE files and shortcuts to EXEs, and they still open (thankfully), but the absence of the "open" is disconcerting me quite a lot. Is there a way the original "open" can be restored?

Thanks in advance!

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2019-06-15T02:59:13+00:00

Saveing the follwing text as a .reg file & merging is most likely all you need:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\open]

@=-

Keith

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2019-06-15T19:49:56+00:00

    You're welcome. Thanks for the feedback & for marking my reply as 'Answer'.

    Keith

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2019-06-15T19:38:29+00:00

    This worked! Thank you very much indeed!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2019-06-15T02:47:45+00:00

    If the registry key

    HKEY_CURRENT_USER\Software\Classes.exe

    or

    HKEY_CURRENT_USER\Software\Classes\exefile 

    exists, delete it. Then make sure that your registry entries match the following:

    Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\open

    Class Name:        <NO CLASS>

    Last Write Time:   5/2/2019 - 9:20 AM

    Value 0

    Name:            EditFlags

    Type:            REG_BINARY

    Data:

    00000000   00 00 00 00                                        ....

    Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\open\command

    Class Name:        <NO CLASS>

    Last Write Time:   5/2/2019 - 9:20 AM

    Value 0

    Name:            <NO NAME>

    Type:            REG_SZ

    Data:            "%1" %*

    Value 1

    Name:            IsolatedCommand

    Type:            REG_SZ

    Data:            "%1" %*

    Keith

    Was this answer helpful?

    0 comments No comments