The "cmd" command appears in the desktop right-click menu and there is no program associated with it

2019-10-28 16:55 Originated from this website 5,949 two seventeen
[Abstract]

The cmd option appears inexplicably in the right mouse button menu. After clicking it, an error pops up, "This file has no program associated with it..." How can I delete this option? Use the registry to solve the problem~

When installing Git, the installation process was always defaulted. As a result, the right-click menu has two options: "Git Bash here" and "Git GUI here". At present, the visual GUI is basically not used, which is redundant. So Feiniao took the trouble to reinstall Git. The GUI disappeared, but the cmd option appeared in the original place.

桌面右键菜单出现

After clicking, an error pops up, "This file has no program associated with it..." At first, Feiniao was confused, but later remembered that it was the pot for reinstalling Git.

桌面右键菜单出现

How to delete this option? Go directly to the registry.

The keyboard shortcut is WIN+R>Run regedit, open the registry editor, and navigate to HKEY_CLASSES_ROOT\Directory\Background\shell\cmd Delete the cmd in the registry.

桌面右键菜单出现

You can also command to solve:

Run—— reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\cmd" /v Extended /t REG_SZ

Problem solving

This article was last updated on October 28, 2019, and has not been updated for more than one year. If the article content or picture resources are invalid, please leave a message for feedback, and we will deal with it in a timely manner, thank you!

If you think this article is helpful, please sponsor this website

 Alipay scanning sponsorship WeChat scanning sponsorship

  • Alipay scanning sponsorship
  • WeChat scanning sponsorship
  • Statement: All text, pictures and other materials marked "Original on this site" are copyrighted Yaxi All, welcome to reprint, but please indicate the source;
    Current comments: 2 of which: visitor 0 blogger 0
    Loading
    1. 4 years ago (2019-11-05) 0F

      I have used computers for many years, but I haven't met them

    2. 4 years ago (2019-11-03) 0F

      Hey, hey, hey, I've never met the knowledge boom. It's really annoying to right click on many things.

    Comment

     doubt  naughty  Sad  Pick one's nose  scare  smile  lovely  A bad laugh  surprised  Daze  doubt  Soldiers  Snicker  Curse  Anger  roll one's eyes  applause  proud  Wipe away sweat  kiss  Cry  open the mouth and show the teeth  halo  strong

    share two seventeen 5,949
    Top