Language through Command Prompt

Hello,
Is this Possible to check Operating System Language through Command Prompt ?
4 answers Last reply
More about language command prompt
  1. systeminfo, you will see the system locale.
  2. @ hang-the-9

    then it will open the another window, can we see in only the command Prompts ?
  3. It won't open another windows, the result will be displayed on the screen as long as you start the command from a window. If you just type in systeminfo in the Run field, it will run but dissapear. You need to scroll up or down to see it the language settings unless you have the command window larger than default.

    What are you trying to use this info for? If for a script, you can use vbscript or even a batch file redirect (> arrorw) and send the output to a text file.
  4. purushottamaher said:
    Hello,
    Is this Possible to check Operating System Language through Command Prompt ?


    The way I found to achieve something similar is to check if Windows is in English or in Portuguese by checking the environment variable with the Program Files path.

    In Portuguese: "Arquivos de programas"

    In English: "Program files"

    How to do it:

    To check if Windows is in Portuguese (Brazil):

    @echo %PROGRAMFILES%|find "Arquivos de programas" > NUL
    if errorlevel 0 echo Windows is in Portuguese



    And in English:

    @echo %PROGRAMFILES%|find "Program files" > NUL
    if errorlevel 0 echo Windows is in English



    So, at least you can check if Windows is in a specific language, as long as you know what the programs folder is called in that language.

    Notice: the path is case sensitive. If you put "Program Files" with an uppercase "F", it won't find anything. Correct is all lowercase.

    To ignore case, use the /I switch in the FIND command.

    Mickets
Ask a new question

Read More

Command Prompt Windows 7