run *.exe from command prompt in c#

May 23 2007 6:43 AM
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"


Answers (1)