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");Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mike GoldPosted May 23, 2007, 6:22 PM
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");