文件、目录、目录空白区右键用 sublime text 3 快捷达开指定文件、目录。
- 新建文件,打开notepad,
- 编辑:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDirectoryBackgroundshellSublimeText3command]
@="C:\Program Files\Sublime Text 3\sublime_text.exe "%V""
[HKEY_CLASSES_ROOTDirectoryBackgroundshellSublimeText3]
"Icon"="C:\Program Files\Sublime Text 3\sublime_text.exe"
@="Open with SublimeText"
[HKEY_CLASSES_ROOTDirectoryshellSublimeText3]
@="Open with SublimeText"
"Icon"="C:\Program Files\Sublime Text 3\sublime_text.exe"
[HKEY_CLASSES_ROOTDirectoryshellSublimeText3command]
@="C:\Program Files\Sublime Text 3\sublime_text.exe %1"
[HKEY_CLASSES_ROOT*shellSublimeText3]
"Icon"="C:\Program Files\Sublime Text 3\sublime_text.exe"
@="Open w&ith SublimeText"
[HKEY_CLASSES_ROOT*shellSublimeText3command]
@=""C:\Program Files\Sublime Text 3\sublime_text.exe" "%1""
注意:
C:\Program Files\Sublime Text 3\sublime_text.exe
替换为自己sublime_text.exe文件所在位置。保留双反斜杠。
- 保存为.reg文件,执行即可。