Add a right-click menu - take Notepad++ as an example

  1. Shortcut key win+R, enter regedit to enter the registry editor
    insert image description here
  2. This directory is the existing right-click shortcut
    insert image description here
  3. Right-click on the shell -> New item, named Edit with Notepad++ (we call it item 1)
  4. Click on item 1, you can see that there is a default item on the right (we call it item 2)
    insert image description here
  5. Change the data of item 2 to Edit with Notepad++, which is the text displayed in the right-click menu
  6. Right-click on item 1 -> New -> String value, the name is Icon, the data is changed to E:\Notepad++\notepad++.exe, the data is the icon displayed in the right-click menu
    insert image description here
  7. Right-click on item 1 -> New -> item, named command (we call it item 3)
  8. Click item 3, there is a default value on the right side of it, change its data to the following figure, the function of the data is to specify the program to be linked to
    insert image description here

Guess you like

Origin blog.csdn.net/qq_42283621/article/details/124099898