将Sublime Text 3打开方式添加到系统右键菜单中

2017-01-25  本文已影响0人  lumicinta

将Sublime Text 3打开方式添加到系统右键菜单中

标签(空格分隔): SublimeText3


将下面的代码保存为 sublime_addright.inf 并放在 Sublime Text 3 的安装目录下。

    [Version]  
    Signature="$Windows NT$"  
      
    [DefaultInstall]  
    AddReg=SublimeText3  
      
    [SublimeText3]  
    hkcr,"*\\shell\\SublimeText3",,,"用 Sublime Text 3 打开"  
    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"""

然后右键点击“安装”,即可。

上一篇下一篇

猜你喜欢

热点阅读