Change regional and language settings in BATCH

How to change regional and language settings in Windows XP and 7 using batch code?

I want to change the "Standards and Formats" to Mexican Spanish with a .bat file.

+3
source share
2 answers

These settings are in the registry under HKCU\Control Panel\International

You can use reg.exe to make changes manually. The easiest way to do this is to manually change the region and language to Spanish (mexico), open the cmd window and type reg query "HKCU\Control Panel\International"in which will show you the values ​​you want. Then, to change them, use REG ADD "HKCU\Control Panel\International" /t REG_SZ /v LocaleName /d es-Mx /ffor each value that replaces that after / v with the corresponding name and that after / d with the corresponding value.

- HKCU\Control Panel\International .reg , regedit /s ImportFile.reg

, . , . RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True

+5

, . ?

0

All Articles