I had a problem calling a batch file from another batch file while trying to run everything using Process.Start. I basically call the execution of a batch file from my C # program, which looks like this:
call include.bat
The include.bat file sets the paths and can be used by a number of other batch files. When I start Process.Start, sometimes it works, and sometimes I get ERROR: cannot find include.bat. First of all, any idea why this is happening? And ideas on how to fix this from a batch file?
source
share