|
本帖最后由 Neko 于 2025-1-26 23:07 编辑
你说的是这种吧,列表有点长,我单独放新菜单里了
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan" /f /v "Icon" /t REG_SZ /d "imageres.dll,-149"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan" /f /v "MUIVerb" /t REG_SZ /d "电源控制"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan" /f /v "Position" /t REG_SZ /d "Bottom"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan" /f /v "SeparatorAfter" /t REG_SZ /d "1"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan" /f /v "SubCommands" /t REG_SZ /d ""
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\01_SwitchUser" /f /v "Icon" /t REG_SZ /d "imageres.dll,-5380"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\01_SwitchUser" /f /v "MUIVerb" /t REG_SZ /d "切换账户"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\01_SwitchUser\Command" /f /ve /t REG_SZ /d "tsdiscon.exe"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\02_LockScreen" /f /v "Icon" /t REG_SZ /d "shell32.dll,-48"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\02_LockScreen" /f /v "MUIVerb" /t REG_SZ /d "锁定"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\02_LockScreen\Command" /f /ve /t REG_SZ /d "rundll32.exe user32.dll,LockWorkStation"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\03_Sleep" /f /v "Icon" /t REG_SZ /d "imageres.dll,-101"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\03_Sleep" /f /v "MUIVerb" /t REG_SZ /d "睡眠"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\03_Sleep\Command" /f /ve /t REG_SZ /d "rundll32.exe powrprof.dll,SetSuspendState Sleep"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\04_Logoff" /f /v "Icon" /t REG_SZ /d "shell32.dll,-45"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\04_Logoff" /f /v "MUIVerb" /t REG_SZ /d "注销"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\04_Logoff\Command" /f /ve /t REG_SZ /d "shutdown.exe -l"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\05_Restart" /f /v "Icon" /t REG_SZ /d "shell32.dll,-290"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\05_Restart" /f /v "MUIVerb" /t REG_SZ /d "重启"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\05_Restart\Command" /f /ve /t REG_SZ /d "shutdown.exe -r -t 0"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\06_Shutdown" /f /v "Icon" /t REG_SZ /d "shell32.dll,-28"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\06_Shutdown" /f /v "MUIVerb" /t REG_SZ /d "关机"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\06_Shutdown\Command" /f /ve /t REG_SZ /d "shutdown.exe -s -t 0"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\07_Powercfg" /f /v "CommandFlags" /t REG_DWORD /d "32"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\07_Powercfg" /f /v "Icon" /t REG_SZ /d "powrprof.dll"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\07_Powercfg" /f /v "MUIVerb" /t REG_SZ /d "电源选项"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\07_Powercfg\Command" /f /ve /t REG_SZ /d "rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\08_Saver" /f /v "Icon" /t REG_SZ /d "powercpl.dll,1"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\08_Saver" /f /v "MUIVerb" /t REG_SZ /d "电源计划「节能」"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\08_Saver\Command" /f /ve /t REG_SZ /d "powercfg -setactive a1841308-3541-4fab-bc81-f71556f20b4a"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\09_Balanced" /f /v "Icon" /t REG_SZ /d "powercpl.dll,4"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\09_Balanced" /f /v "MUIVerb" /t REG_SZ /d "电源计划「平衡」"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\09_Balanced\Command" /f /ve /t REG_SZ /d "powercfg -setactive 381b4222-f694-41f0-9685-ff5bb260df2e"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\10_High" /f /v "Icon" /t REG_SZ /d "powercpl.dll"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\10_High" /f /v "MUIVerb" /t REG_SZ /d "电源计划「高性能」"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\10_High\Command" /f /ve /t REG_SZ /d "powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\11_Ultimate" /f /v "Icon" /t REG_SZ /d "powercpl.dll,2"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\11_Ultimate" /f /v "MUIVerb" /t REG_SZ /d "电源计划「卓越性能」"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\11_Ultimate\Command" /f /ve /t REG_SZ /d "powercfg -setactive e9a42b02-d5df-448d-aa00-03f14749eb61"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\12_UltimateEnabled" /f /v "Icon" /t REG_SZ /d "powrprof.dll,2"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\12_UltimateEnabled" /f /v "MUIVerb" /t REG_SZ /d "启用计划「卓越性能」"
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\Shell\PowerPlan\Shell\12_UltimateEnabled\Command" /f /ve /t REG_SZ /d "powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61"
复制代码 |
|