添加SublimeText3到系统右键菜单

复制下面代码保存为 add_right_menu.inf 放入sublimetext3根目录,右键安装就好了,注意,编码一定是ANSI

[Version]
Signature="$Windows NT$"
 
[DefaultInstall]
AddReg=SublimeText3
 
[SublimeText3]
hkcr,"*\\shell\\SublimeText3",,,"用 SublimeText3 打开"
hkcr,"*\\shell\\SublimeText3\\command",,,"""%1%\sublime_text.exe"" ""%%1"" %%*"
hkcr,"Directory\shell\SublimeText3",,,"用 SublimeText3 打开"
hkcr,"*\\shell\\SublimeText3","Icon",0x20000,"%1%\sublime_text.exe, 0"
hkcr,"Directory\shell\SublimeText3\command",,,"""%1%\sublime_text.exe"" ""%%1"""

附上来源:

http://my.oschina.net/adairs/blog/466777

你可能感兴趣的:(编程软件使用,sublime,右键菜单)