views:

273

answers:

1

I would like to run a script for each language. I need a way to find wich os language is being used, using batch files. Both on windows XP, and on Windows 7.

Thanks

+1  A: 

Don't know if this still works on Windows 7 but it does in Windows XP

reg query "hklm\system\controlset001\control\nls\language" /v Installlanguage

Then you can parse the ouput. e.g.

0409 --> English
0407 --> German
jitter
Thanks, jitter. this works on Windows 7 as well. you solved my problem.BTW:040D --> HebrewThanksSpeed
Speed