How to verify the system language with a command?


  1. Posts : 22
    Windows 7 Pro 32-bit
       #1

    How to verify the system language with a command?


    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


  2. Posts : 22
    Windows 7 Pro 32-bit
    Thread Starter
       #2

    resolved.
    if exist "%windir%\zh-cn"
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:11.
Find Us