1.reg文件内容,编辑好之后,双击1.reg文件即可
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\SublimeText3]
@="Edit with Sublime Text3"
"Icon"="D:\\software\\sublime_text_build_4169_x64\\sublime_text.exe,0"
[HKEY_CLASSES_ROOT\*\shell\SublimeText3\command]
@="D:\\software\\sublime_text_build_4169_x64\\sublime_text.exe %1"
[HKEY_CLASSES_ROOT\Directory\shell\SublimeText3]
@="Edit with Sublime Text3"
"Icon"="D:\\software\\sublime_text_build_4169_x64\\sublime_text.exe,0"
[HKEY_CLASSES_ROOT\Directory\shell\SublimeText3\command]
@="D:\\software\\sublime_text_build_4169_x64\\sublime_text.exe %1"
若需要从注册表中删除该配置,步骤如下:
- ctrl + r -> regedit
- 按照HKEY_CLASSES_ROOT\*\shell 和 HKEY_CLASSES_ROOT\Directory 等目录找到sublime的目录配置,删除即可