Use the CCTK to output Model information to a file.
@echo off if %1x==x goto :Args echo Testing for 6420 findstr /i "6420" %1 > 6420.x for %%R in (6420.x) do if %%~zR GTR 0 goto :Is6420 for %%R in (6420.x) do if %%~zR EQU 0 goto :Not6420 :Is6420 echo Is 6420 goto End :Not6420 echo Testing for 6410 findstr /i "6410" %1 > 6410.x for %%R in (6410.x) do if %%~zR GTR 0 goto :Is6410 for %%R in (6410.x) do if %%~zR EQU 0 goto :Not6410 :Is6410 echo Is 6410 :Not6410 goto :End :Args echo Need filename(s) to check goto :End :End