0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Windows10のバッチでマルチディスプレイの出力方法(ミラーリング or 拡張など)を変更

Last updated at Posted at 2022-09-19

やり方

『DisplaySwitch.exe』という奴がいるので、引数を渡して起動してあげればOK。

メインディスプレイのみ出力
"C:\Windows/System32/DisplaySwitch.exe" /internal
ミラーリング
"C:\Windows/System32/DisplaySwitch.exe" /clone
拡張
"C:\Windows/System32/DisplaySwitch.exe" /extend
サブモニターのみ出力
"C:\Windows/System32/DisplaySwitch.exe" /external

引数無しでexeを起動するとどうなるか

メインモニターの右側に下記メニューが出てくるだけ。
Windowsマーク + P のキーボード操作をした時と同じ状態になる。
image.png

蛇足(Windowsマーク + Pについて)

下記参照。

参考サイトさん

バージョン

Windows 10 Home 21H1 OSビルド 19043.2006

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?