标签:
右键添加Sublime Text 打开方式
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Sublime Text]
"Icon"="D:\\Coding\\Sublime Text 2\\sublime_text.exe,0"
@="用Sublime Text &2打开"
[HKEY_CLASSES_ROOT\*\shell\Sublime Text\Command]
@="D:\\Coding\\Sublime Text 2\\sublime_text.exe %1"
右键添加Notepad2打开方式
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Notepad2]
@="用&xNotepad2打开"
"Icon"="D:\\System\\Notepad2\\Notepad.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Notepad2\command]
@="D:\\System\\Notepad2\\Notepad.exe %1"
右键添加管理员权限
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\zrunas]
@="管理员取得所有权"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\zrunas\command]
@="cmd.exe /c takeown /f \"%1\" & icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" & icacls \"%1\" /grant administrators:F"
右键菜单添加文本编辑器 Notepad2 Sublime Text 2
标签:
原文地址:http://www.cnblogs.com/imsoft/p/5544496.html