I've tried to use this line in c#........
System.Diagnostics.Process.Start("cmd", @"glpsol -m tsp.mod -o prog.txt");
but it doesn't create me de executable "prog.txt"
System.Diagnostics.Process.Start("cmd", @"glpsol -m tsp.mod -o prog.txt");
but it doesn't create me de executable "prog.txt"
Know the answer? Post it. Somebody with the same question will find it here.
Mike GoldRank #50 · 30.6K pointsPosted May 23, 2007, 2:22 PM EDT
Hello I have an application which need to run command prompt in c# for creating me an executabil "prog.txt",
I've tried to use this line in c#........
> System.Diagnostics.Process.Start("cmd", @"glpsol -m tsp.mod -o prog.txt");
> but it doesn't create me de executable "prog.txt"
Try
System.Diagnostics.Process.Start("glpsol.exe", "-m tsp.mod -o prog.txt");