我想知道如何批量使用 reg 查询来做出 if else 决定
我到目前为止是:
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