GETSTAT Utility
if ERRORLEVEL 2 goto yes_sim
if ERRORLEVEL 1 goto yes_mon
echo The video is currently on the LCD
goto chk_crt
:yes_mon
echo The video is currently on the external monitor.
goto chk_crt
:yes_sim
echo The video is currently on SimulSCAN.
:chk_crt
rem =============================
rem check the presence of monitor
rem =============================
getstat /m
if ERRORLEVEL 1 goto yes_crt
echo An external monitor is not connected to the system
goto exit_all
:yes_crt
echo An external monitor is connected to the system
:exit_all
7-6 Other Utilities