添加Sublime Text 3到鼠标右键

添加Sublime Text 3到鼠标右键


找到文件目录下

新建文件 xxx.inf

xxx随便写,后缀必须是inf

编辑内容(直接复制就行了)

[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"""

保存后,右键运行即可





伍先生
  • 职业: 程序员,产品
  • 码龄: 6.2
  • 技能: PHP Go 前端
  • 微信: JwCode
  • 公众号/小程序: 渐悟分享