[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!