The ultimate way to right-click notepad ++

Source: Internet
Author: User

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!


----

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.