I'm trying to figure out how to get cmd.exe (command prompt) to display outputs in different language than the one installed in the system.
I'll use a simple command as example. If I type the command
date
the output will be:
Data corrente: 07/05/2018
Immettere la nuova data: (gg-mm-aa)
That's because the Windows installed on my system is set to Italian.
I would like, in my application, to execute commands through CMD.exe and parse their output. I already know how to do that, but the problem is that if my application is executed on non-italian Windows systems the application won't work because it's based on italian strings (eg. I search for "Data corrente" string, but if Windows is set to other languages the string won't be found).
I need to generate outputs in a fixed language regardless of the language installed on the system.
Using the example above, typing the "date" command I would like to get the following output in ALL systems, including italian ones:
The current date is: 07/05/2018
Enter the new date: (gg-mm-aa)
Thanks.