在Sublime Text3安裝目錄下新建一個文件 sublime_addright.inf 文件內容: [Version] Signature="$Windows NT$" [DefaultInstall] AddReg=SublimeText3 [SublimeText3] hkcr,"*\\s ...
在Sublime Text3安裝目錄下新建一個文件 sublime_addright.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"""
然後選中文件右鍵選擇安裝即可。