将 sublime test3 添加到鼠标右键的方法

时间:2021-02-11 18:22:17

将 sublime test3 添加到鼠标右键的方法

将 sublime_addright.inf 文件放到 sublime text 安装目录进行安装即可。

文件名:sublime_addright.inf

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