I would like to know how I can use the reg query in batch to make if else decisions
what I have sofar is:
set ANSWR = ('reg query "hklm\system\controlset001\control\nls\language" /v Installlanguage')
if %ANSWR% == "0415" (goto DUTCH) else (goto OTHER)
:DUTCH
MSG * windows is in dutch
EXIT
:OTHER
MSG * CANT FIND VERSION
EXIT
pause
There were a few problems, but here is a working one