Hi
... I tried that Brett said, without success. Here is a dummy bat file: MODE CON[:] CP SELECT=yyy echo %yyy% Brett wanted to say : MODE CON CP SELECT=850 It is similar to chcp. I don't like the idea to use MAVEN_OPTS because I'll forget it each time I use a different environment. I think we can have a simple solution. We set the codepage in the batch with the same value for everyone. MODE CON ... java -Dfile.encoding.. But I'm not sure that it will work. We must test it. The better solution is to find the cp and to use it but in windows if I tape : C:\>MODE CON CP /STATUS I reveive : État du périphérique CON: ------------------------- Page de codes : 850 Or if I tape C:\>chcp I receive : Page de codes active : 850 How can I extract the 850 (or other code) in a DOS batch ?? Arnaud