I can connect 3 displays to my laptop, and for presentation purposes i want to make a batch file which opens a fullscreen video on one of them (which is connected to a projector). I would like to use a batch file which immediately opens up the video on the desired screen, the command here ALMOST does this: https://superuser.com/a/193342/228841
Additionally, the VLC manual offers this command:
--directx-device=<string> Name of desired display device In a multiple monitor configuration, you can specify the Windows device name of the display that you want the video window to open on. For example, "\\.\DISPLAY1" or "\\.\DISPLAY2".
So i tried this batch file:
set vlcPath="C:\Program Files\VideoLAN\VLC\vlc.exe" %vlcPath% %1 --directx-device="\\.\DISPLAY2" --fullscreen --no-video-title-show --no-embedded-video --no-qt-fs-controller
Which doesnt work, the video opens on the primary display. My feeling is that the Display names might be different in Windows 10 then previous Windows versions, but i havent found a way yet to get a list of connected displays from the CLI.
So, where can i find the Display Names and how can pass them to VLC from a command line?