ZAARONBIN - 博客园

[Windows] 添加 Sublime Text 到右键菜单

创建注册表文件并执行

  1. 创建一个名为“Sublime.reg”的文件
  2. 将下面的内容添加到一个新建的文件中,双击执行
Windows Registry Editor Version 5.00

[\HKEY_CLASSES_ROOT\Directory\shell\Edit with Sublime Text]
"Icon"="C:\\Program Files\\Sublime Text\\sublime_text.exe,0"

[\HKEY_CLASSES_ROOT\Directory\shell\Edit with Sublime Text\Command]
@="C:\\Program Files\\Sublime Text\\sublime_text.exe %1"

[\HKEY_CLASSES_ROOT\Directory\Background\shell\Edit with Sublime Text]
"Icon"="C:\\Program Files\\Sublime Text\\sublime_text.exe,0"

[\HKEY_CLASSES_ROOT\Directory\Background\shell\Edit with Sublime Text\Command]
@="C:\\Program Files\\Sublime Text\\sublime_text.exe %1"

posted @ 2023-07-24 22:55  BINBINBINZ  阅读(273)  评论(0编辑  收藏  举报