I am attempting to execute DOS batch files from a C++ program. I tried using the CreateProcess() function but I get no results. The function returns without an error, but the batch file doesn't run.

Any pointers?