Part of this batch script is the call of an external cmdline-only program.
I start this program from batch script with
Code: Select all
start "" /NORMAL /B /WAIT D:\foobar\myprog.exe /parm1 /parm2 someparm
However the output of that program contains german Umlaute which are not displayed correctly.
If it would run in the current CmdPrompt I could write at the top
Code: Select all
>nul chcp 1252
How can I pass the command
>nul chcp 1252
most easily for the new created Sub-CmdPrompt?
Is there a way to pass it in the start command similar to
Code: Select all
start "" /NORMAL /B /WAIT ">nul chcp 1252" && D:\foobar\myprog.exe /parm1 /parm2 someparm
Peter