Advertisement
Combreal

getOSLanguage.bat

Apr 15th, 2020
885
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.25 KB | None | 0 0
  1. @ECHO off
  2. FOR /F "tokens=3 delims= " %%G in ('reg query "hklm\system\controlset001\control\nls\language" /v Installlanguage') DO (
  3. IF [%%G] EQU [0409] (ECHO English install language detected)
  4. IF [%%G] EQU [040C] (ECHO French install language detected)
  5. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement