Skip to content

Instantly share code, notes, and snippets.

@danielwgit
danielwgit / sublime_elevated.reg
Created October 26, 2015 01:37
Context menu for Sublime UAC-elevated mode
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Elevated\command]
@="\"C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\Powershell.exe\" -NoProfile -WindowStyle Hidden -Command \"Start-Process 'C:\\Program Files\\Sublime Text 3\\sublime_text.exe' -ArgumentList '\"\"%1\"\"' -Verb RunAs\""