|
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Balance\command]
@="C:\\Windows\\System32\\powercfg.exe /S 381b4222-f694-41f0-9685-ff5bb260df2"
↓
@="powerplanswitch.bat Balance"
powerplanswitch.bat
- iconB=平衡图标
- iconH=高性能图标
- iconS=节能图标
- Case:Balance模式 {
- pwrid=381b4222-f694-41f0-9685-ff5bb260df2
- iconB=选中图标
- }
- Case: High模式 {
- pwrid=381b4222-f694-41f0-9685-ff5bb260df2
- iconH=选中图标
- }
- Case:Save模式 {
- pwrid=8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
- iconS=选中图标
- }
- powercfg.exe /S %pwrid%
- reg HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Balance\Icon=%iconB%
- reg HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\High\Icon=%iconH%
- reg HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Save\Icon=%iconS%
复制代码 |
|