CALL C:\LiveDigital\config.bat

C:\LiveDigital\dccmd.exe -monitor="\\.\DISPLAY1" -width=%var_reswidth% -height=%var_resheight%
C:\LiveDigital\dccmd.exe -monitor="\\.\DISPLAY1" -rotate=%var_resrotation%

IF %var_noscreens% GTR 1 (
	PING 127.0.0.1 -n 1 -w 500

	C:\LiveDigital\dccmd.exe -monitor="\\.\DISPLAY2" -width=%var_reswidth% -height=%var_resheight%
	C:\LiveDigital\dccmd.exe -monitor="\\.\DISPLAY2" -rotate=%var_resrotation%
)

IF %var_noscreens% GTR 2 (
	PING 127.0.0.1 -n 1 -w 500

	C:\LiveDigital\dccmd.exe -monitor="\\.\DISPLAY3" -width=%var_reswidth% -height=%var_resheight%
	C:\LiveDigital\dccmd.exe -monitor="\\.\DISPLAY3" -rotate=%var_resrotation%
)

IF %var_noscreens% GTR 3 (
	PING 127.0.0.1 -n 1 -w 500

	C:\LiveDigital\dccmd.exe -monitor="\\.\DISPLAY4" -width=%var_reswidth% -height=%var_resheight%
	C:\LiveDigital\dccmd.exe -monitor="\\.\DISPLAY4" -rotate=%var_resrotation%
)

EXIT