I'm having a bit of problem with processing bat/batch files from .NET.
I do Process.Start
and I can start the actual file, however, if the bat file is encoded with UTF8, it gets incorrectly decoded since DOS uses some other encoding.
Can I start the process with a different encoding and would that affect the encoding of the actual bat file?
The bat file is inclided as a Copy Always resource in the project and I'm not completely comfortable saving it using DOS encoding and checking it into TFS and distribute it to all team members, pretty certain that this will blow up eventually..