Batch file commands to switch TV to be primary display (1 Viewer)

elg2001

Portal Member
October 1, 2005
6
0
Hi,
I've read around on these forums alot (including searching ALOT) and found that dual displays are not supported in MP. So, I thought of a way to get around it until the feature is added. I'd have a batch file called MP.bat that would do the following (in order):

Code:
1. Set display #2 as the primary display
2. Execute Media Portal
3. Set display #1 as the primary display

If this is executed in a batch file, display 2 will become primary, then MP will get launched. When MP is exited, display 1 will become primary, essentially reverting the system back to its default configuration.

The reason I'm posting this here is I need to know how to execute steps 1 and 3 in a Windows batch file (i.e. MP.bat). Does anyone know how?
 

elg2001

Portal Member
October 1, 2005
6
0
wow thanks! ill give that a shot.

however, is it possible to do it directly perhaps via the driver dll with some flags added? like

Code:
rundll32 %SystemRoot%\System32\nv4_disp.dll /P /D1

or something like that? that would be ideal because then i could use it without it depending upon any 3rd party program.
 

Users who are viewing this thread

Top Bottom