I hope you will get my problem, dont know if I can describe it properly in english, but I will try :)
Situation:
That SecondProg.exe apparently looks in its working directory for that file and fails if it doesn't find it. As such, you have to set the working directory of the new process. To do that, create a ProcessStartInfo
object, set the FileName
to the path of the EXE file and the WorkingDirectory
to the path of the folder containing that EXE. You then pass that object as an argument when you call Process.Start
.