> Code:
> ---------
> v:\> help @video
> @VIDEO[N] = 1/0/-1 (on/sleeping/error) for monitor N = 0,1,...
>
> v:\> for /l %i in (0,1,3) echo %@video[%i]
> 1
> 1
> 1
> 1
>
> v:\> reboot /m1 & delay 15 & for /l %i in (0,1,3) echo %@video[%i]
> 0
> 0
> 0
> 0
> ---------
> It's a highly specialized function so I don't mind the user
> having to look in
>
>
> Code:
> ---------
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D3
> 6E96E-E325-11CE-BFC1-08002BE10318}
> ---------
> to see how many devices exist and their descriptions ... and
> to experiment as to which of them suit his purposes.
>
> I have two physical monitors attached to a Dell WKS here.
> And here that registry key enumerates 4 devices; their
> descriptions are: "Default Monitor", "Default Monitor", "Dell
> 1908FP(Digital)", and "Plug and Play Monitor" (a bit
> confusing). In my tests, I always get the same result for all 4.
>
> Tony, would that suit your purposes? Comments, anyone?