

针对文件夹.
右键菜单显示的名称:Open folder with Sublime Text 放到默认项的数据部分
右键菜单显示的图标:名称地方对应的字符串:Icon,数据对应你的安装目录
打开的命令就是图中command下是数据
下面的注册表对应的地方没有的话就新建 atom等其他软件设置都同理
[HKEY_CLASSES_ROOT\Directory\shell\sublime]
Icon="C:\\Program Files\\SublimeText\\sublime_text.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]@="\"C:\\Program Files\\SublimeText\\sublime_text.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime]@="&Open folder with Sublime Text""Icon"="\"C:\\Program Files\\SublimeText\\sublime_text.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime\command]@="\"C:\\Program Files\\SublimeText\\sublime_text.exe\" \"%V\"";
针对文件.
[HKEY_CLASSES_ROOT\*\shell\sublime]
@="&Open with Sublime Text""Icon"="\"C:\\Program Files\\SublimeText\\sublime_text.exe\",0"[HKEY_CLASSES_ROOT\*\shell\sublime\command]
@="\"C:\\Program Files\\SublimeText\\sublime_text.exe\" \"%1\""
网友评论