将Sublime Text 3打开方式添加到系统右键菜单中
程序员文章站
2022-03-09 18:53:56
...
将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"""
然后右键点击“安装”,即可。
推荐阅读