I see the problem this is solving - if you have a unicode path in your environment for example it would get smashed by the ANSI conversion.
While it looks straight forward, maybe we should clean up the path handling from fixed buffers here. The stack frame for the execute function now has 128 + 256 kb of text data, which is starting to get huge. I can merge this and put in a cleanup issue.
I see the problem this is solving - if you have a unicode path in your environment for example it would get smashed by the ANSI conversion.
While it looks straight forward, maybe we should clean up the path handling from fixed buffers here. The stack frame for the execute function now has 128 + 256 kb of text data, which is starting to get huge. I can merge this and put in a cleanup issue.