I have used so many text editors, editplus, ultraedit, notepad, VIM for windows...
I still feel the most comfortable using notepad ++.
Today, I want to add notepad ++ to the right-click menu, and I cannot find it in the settings. Therefore, the first solution was found through a search on the Internet:
Save the following code as the *. reg registry file and double-click it.
[HKEY_CLASSES_ROOT \ * \ Shell \ Open with NotePad ++]
[HKEY_CLASSES_ROOT \ * \ Shell \ Open with NotePad ++ \ command]
@ = "E: \\ Software list \\ npp.6.1.5.bin \\ unicode \\ notepad ++. Exe \"% L \ ""
Double-click the saved *. reg file. The result is as follows:
The prompt "XX. Reg cannot be imported: the specified file is not a registration script. You can only import binary registration files in the Registry Editor ."
So there was a search, and enthusiastic netizens gave the answer:
At the beginning, add Windows Registry Editor Version 5.00 and Windows Registry Editor Version 5.
The Code becomes like this:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT \ * \ Shell \ Open with NotePad ++]
[HKEY_CLASSES_ROOT \ * \ Shell \ Open with NotePad ++ \ command]
@ = "E: \\ Software list \\ npp.6.1.5.bin \\ unicode \\ notepad ++. Exe \"% L \ ""
In this example, the path of notepad1_cmd.exe must be escaped by a backslash. % L should be enclosed in double quotation marks.
Save it to. Reg format and then double-click it to retry or report an error.
The third search finally found a helpful clue: it may be that the file encoding is incorrect.
ANSI (the format used by the Registry file, unformatted) Unicode (General font Character Set Standard) Unicode big endian (UNICODE be) UFT-8 (commonly used webpage encoding) Finally. reg is saved as ANSI encoded and double-click!
----