Add a Windows Shell context menu entry for a specific extension (not file type)
问题 To add a Windows shell context menu, let's say for .txt files - if the .txt extension in HKEY_CLASSES_ROOT (or in HKEY_CURRENT_USER\Software\Classes , doesn't really matter) has the default value ( file type ) txtfile - you add the command to HKEY_CLASSES_ROOT\txtfile\shell\yourcommand (and the command itself in HKEY_CLASSES_ROOT\txtfile\shell\yourcommand\command , of course) and there you go. However, let's say the .txt extension instead has the default value Notepad++_file . Notepad++_file