首页 > 代码库 > 用reg文件把便携版sublime text 3添加到右键菜单

用reg文件把便携版sublime text 3添加到右键菜单

假设sublime文件夹在C:\\Users\\T430i\\Downloads\\Sublime Text Build 3059 x64\\

则:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Sublime Text 3]
@="Sublime Text 3"
"Icon"="C:\\Users\\T430i\\Downloads\\Sublime Text Build 3059 x64\\sublime_text.exe,0"

[HKEY_CLASSES_ROOT\*\shell\Sublime Text 3\command]
@="C:\\Users\\T430i\\Downloads\\Sublime Text Build 3059 x64\\sublime_text.exe %1"

[HKEY_CLASSES_ROOT\Folder\shell\Sublime Text 3]
@="Sublime Text 3"
"Icon"="C:\\Users\\T430i\\Downloads\\Sublime Text Build 3059 x64\\sublime_text.exe,0"

[HKEY_CLASSES_ROOT\Folder\shell\Sublime Text 3\command]
@="C:\\Users\\T430i\\Downloads\\Sublime Text Build 3059 x64\\sublime_text.exe %1"