相关疑难解决方法(0)

在 Windows 7 上通过批处理/命令行更改显示排列

我想通过命令行更改计算机的显示排列。我有 2 个显示器设置和扩展,我想通过命令行将显示器设置从双显示更改为单显示,然后再返回。

我已经浏览了 QRes 和 nircmd。虽然 QRes 完全缺乏多显示器支持,但 nircmd 不能禁用显示器,只能更改主要状态和单独屏幕的分辨率。

如果您知道这样做的方法,我们将不胜感激。

编辑:我将在 climenoles 答案中使用显示转换器在此处发布我的解决方案:

@echo off
REM setting to single screen
echo *** Disabling Screen 2 *** 
cd C:\Program Files (x86)\12noon Display Changer\
dc64cmd.exe -monitor="\\.\DISPLAY2" -detach

echo Starting TF2 -fullscreen -novid -console -w 1920 -h 1200
REM Starting Team Fortress 2 fullscreen
cd C:\Program Files (x86)\Steam
Steam.exe -applaunch 440 -fullscreen -novid -console -w 1920 -h 1200

REM pausing because steam.exe returns before TF2 quits
echo Press a key …
Run Code Online (Sandbox Code Playgroud)

windows-7 multiple-monitors command-line

16
推荐指数
3
解决办法
9万
查看次数