Skip to content

Instantly share code, notes, and snippets.

@enihsyou
Created July 8, 2018 14:14
Show Gist options
  • Save enihsyou/a1c3fd0baf106cc69331ab7da061dcef to your computer and use it in GitHub Desktop.
Save enihsyou/a1c3fd0baf106cc69331ab7da061dcef to your computer and use it in GitHub Desktop.
Windows 给桌面右键菜单添加「快速切换电源计划」的菜单,注意在中文Windows下 需要用GB10830(中文编码)保存文件
; reference https://blog.csdn.net/qq_28612673/article/details/78851579
; 注意在中文Windows下 需要用GB10830(中文编码)保存文件
; beware to use appropriate character encoding
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Switch Power Plan]
"Icon"="powercpl.dll"
"MUIVerb"="切换电源计划"
"Position"="Top"
"SubCommands"=""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Switch Power Plan\Shell\Balanced]
"MUIVerb"="平衡"
"Icon"="powercpl.dll"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Switch Power Plan\Shell\Balanced\Command]
@="powercfg.exe /S 381b4222-f694-41f0-9685-ff5bb260df2e"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Switch Power Plan\Shell\High Performance]
"MUIVerb"="高性能"
"Icon"="powercpl.dll"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Switch Power Plan\Shell\High Performance\Command]
@="powercfg.exe /S 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Switch Power Plan\Shell\Power Saver]
"MUIVerb"="节能"
"Icon"="powercpl.dll"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Switch Power Plan\Shell\Power Saver\Command]
@="powercfg.exe /S a1841308-3541-4fab-bc81-f71556f20b4a"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment