Solved How to verify the system language with a command?

Chenry

New member
Member
Local time
12:59 AM
Messages
22
Location
Shenzhen, China
Hi all,
I have a question, need your help:
there are many computers in our company, including Chinese and English system.
Now I want to make a tool, a batch file, and I need to get the system language.
Which command can I use? systeminfo may be useful, but it takes too long time.
I try to read the folder name of desktop, but in a Chinese system, I also can use %userprofile%\desktop to enter the folder, so it doesn't work.
All the computers are installed with Windows 7.

Thanks for your kindly help in advance!

Regards.
Chenry
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Lenovo
OS
Windows 7 Pro 32-bit
resolved.
if exist "%windir%\zh-cn"
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Lenovo
OS
Windows 7 Pro 32-bit
Back
Top