Hi
I have a problem calling a batch file from another batch file when trying to run everything by using Process.Start
. Basically I call the execution of a batch file from my c# program that looks like this:
call include.bat
//execute the rest of the batch file here
The include.bat file sets up paths and can be used by a number of other batch files. When I run the Process.Start
sometimes this works and sometimes I get ERROR: cannot find include.bat
. First of all any idea why this happens? And ideas on how to fix this from the batch file?