Create a TXT text and copy the following content into the text

Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\Shell\NotePad++] [HKEY_CLASSES_ROOT\*\Shell\NotePad++\Command]  @="\"D:\\npp\\notepad++.exe\" \"%1\""Copy the code

Note: “D:\ NPP \notepad++. Exe “refers to the location of notepad++

Save the TXT file, modify the file suffix, willxx.txtTo modify axx.reg

After saving the file, double-click the reg file and you will see the small notepad++ icon in the right-click menu