标签: powercfg

如何使用 cmd / Powershell 或其他方式打开电源选项 > 系统设置

在网上看了几天之后,我没有其他选择来问你我的问题。

如何使用 cmd / run / powershell(或其他)打开以下控制面板:

选择关闭盖子的作用

我知道如何输入 powercfg.cpl,但我无法打开它才能到达那里:

盖子选项

我也知道可以使用 cmd 更改电源计划,但这不是我必须这样做的方式。

非常感谢,祝你有美好的一天:D

powershell cmd powercfg

3
推荐指数
1
解决办法
5208
查看次数

如何通过C#代码运行powercfg的功能?

如何通过c#代码运行powercfg的功能?
例如,我想运行它,为Set关闭显示:never

powercfg -CHANGE -monitor -timeout -ac 0 
Run Code Online (Sandbox Code Playgroud)

.net c# powercfg

2
推荐指数
2
解决办法
2151
查看次数

标签 统计

powercfg ×2

.net ×1

c# ×1

cmd ×1

powershell ×1