I got two batch-files. The first is started through C# code:
System.Diagnostics.Process.Start(System.Environment.CurrentDirectory + "\\Files\\myBat.bat", parameters + " > output.txt");
The second bat is started inside the first one:
%MY_PATH%\secondBat.bat
First one runs as supposed, but execution of second (inside of first bat) is ignored. It all works until this Point.
It DOES work if started manually via cmd.exe It ONLY does not work if started via C#.
Thanks for help
Edit: This is the Output:
C:\TheProg\XXXX\bin\Debug>C:\TheProg\XXXX\bin\Debug\secondBat.bat
It just doesn´t execute