Skip to content

Instantly share code, notes, and snippets.

@echo off
@rem %stPath% : Path to Sublime Text installation dir.
@rem %entryName%: Key name for the registry entry.
@rem %menuText% : Context menu text. Set your preferred menu text (e.g.: translate to your language).
SET stPath=C:\Program Files\Sublime Text 3\sublime_text.exe
SET entryName=Sublime Text
SET menuText=Open with Sublime Text
rem add it for all file types