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

时间:2022-03-15 12:44:06

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

则:

Windows Registry Editor Version 5.00

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