添加右键菜单"用sublime打开"

建立添加add.reg文件,内容如下:

[HKEY_CLASSES_ROOT\*\shell\SublimeText3]
@="用SublimeText3打开"
"Icon"="F:\\portable\\edit\\SublimeText3\\sublime_text.exe,0"

[HKEY_CLASSES_ROOT\*\shell\SublimeText3\Command]
@="F:\\portable\\edit\\SublimeText3\\sublime_text.exe  \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\SublimeText3]
@="用SublimeText3打开"
"Icon"="F:\\portable\\edit\\SublimeText3\\sublime_text.exe,0"

[HKEY_CLASSES_ROOT\Directory\shell\SublimeText3\command]
@="F:\\portable\\edit\\SublimeText3\\sublime_text.exe    \"%1\""

建立删除delete.reg文件,内容如下:

[-HKEY_CLASSES_ROOT\*\shell\SublimeText3]
[-HKEY_CLASSES_ROOT\Directory\shell\SublimeText3]

你可能感兴趣的:(添加右键菜单"用sublime打开")