標籤:
右鍵添加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