📎 AI Summary:
The thread discusses how to create scripts to emulate the Windows "Win+P" display options, specifically for switching to "second screen only" and "extend" modes. The original poster seeks a simple batch or VBS script for these functions and later finds that using "DisplaySwitch.exe" with "/external" and "/extend" accomplishes this. Other users confirm or add similar commands, noting additional options like "/internal" and "/clone," with the overall sentiment being helpful and collaborative.

Smoke1182

New Member
Joined
Apr 21, 2019
Messages
2
Thread Author #1
Hi guys,
first of all: happy easter!

I am new here and i am not quite sure if it's the right sub. sorry if not.
I need help for a little script. I want a .bat or .vbs that does the same as "Win+p" => "second screen only".
And for sure a 2nd script for => "Win+p" => extend.

Is that even possible?
Thanks in advance and sorry if i am wrong here.

cheers
 

Smoke1182

New Member
Joined
Apr 21, 2019
Messages
2
Thread Author #2
found an easy way:
shortcut:
DisplaySwitch.exe /external
and
DisplaySwitch.exe /extend

thanks all
 

Solution

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
I saw this post when I was half awake and that's exactly what I was going to suggest.
 

Josephur

Windows Forum Admin
Staff member
Premium Supporter
Microsoft Certified Professional
Joined
Aug 3, 2010
Messages
1,283
There's also /internal for use of primary screen only and /clone to clone outputs, might be useful to someone else some day :)