I am currently faced with a problem, I need to execute a batch script within a programs memory (so it does not have to extract the batch file to a temporary location).

I am open to solutions in C# and C++

Any help would be appreciated