Add sublime Text3 to the right-click menu

Source: Internet
Author: User

The previous paragraph reinstalled the sublime Text3, but has not been in the right-click menu, so decided to add, there are 2 ways.

Method One (recommended),

Copy the following code to the SUBLIMETEXT3 installation directory, then rename it to: Sublime_addright.inf, then right-click on the installation.

PS: Before renaming a file, you need to check the box in the Tools-Folder options, view to hide the extensions of the known file types in front of them.

[version]signature="$Windows nt$"[DEFAULTINSTALL]ADDREG=SUBLIMETEXT3 [SUBLIMETEXT3]HKCR,"*\\shell\\sublimetext3",,,"Open with SublimeText3 ."HKCR,"*\\shell\\sublimetext3\\command",,,"""%1%\sublime_text.exe "" "" %%1 ""%%*"HKCR,"Directory\shell\sublimetext3",,,"Open with SublimeText3 ."HKCR,"*\\shell\\sublimetext3","Icon", 0x20000,"%1%\sublime_text.exe, 0"HKCR,"Directory\shell\sublimetext3\command",,,"" "%1%\sublime_text.exe "" ""%%1 """

Method Two,

Copy the following code to SUBLIMETEXT3 's installation directory, then rename it to: Sublime_addright.reg, then double-click on it.

PS: You need to replace the sublime in the inside of the installation directory, the actual sublime installation directory.

Windows Registry Editor Version5.xx[Hkey_classes_root\*\shell\sublimetext3]@="Open with SublimeText3 .""Icon"="d:\\program files\\sublime Text 3\\sublime_text.exe,0"[Hkey_classes_root\*\shell\sublimetext3\command]@="d:\\program files\\sublime Text 3\\sublime_text.exe%1"[Hkey_classes_root\directory\shell\sublimetext3]@="Open with SublimeText3 .""Icon"="d:\\program files\\sublime Text 3\\sublime_text.exe,0"[Hkey_classes_root\directory\shell\sublimetext3\command]@="d:\\program files\\sublime Text 3\\sublime_text.exe%1"

Finally, attach a script that removes the right-click menu.

Copy the following code to SUBLIMETEXT3 's installation directory, then rename it to: Sublime_delright.reg, then double-click on it.

5. xx [-HKEY_CLASSES_ROOT\*\SHELL\SUBLIMETEXT3][-HKEY_CLASSES_ROOT\DIRECTORY\SHELL\SUBLIMETEXT3]

Add sublime Text3 to the right-click menu

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.