Created
October 26, 2015 01:37
-
-
Save danielwgit/10f241f686b0eb11c274 to your computer and use it in GitHub Desktop.
Context menu for Sublime UAC-elevated mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\"" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment