Thursday, March 23, 2006

Running command line apps from C#  [Digg.com This!]

Here's a great article on the MSDN blog for how to run a command line app from your C# code. Here it is:

http://blogs.msdn.com/csharpfaq/archive/2004/06/01/146375.aspx

If you want the quick NON-SYCHRONOUS method, try:

System.Diagnostics.Process.Start(@"c:\myscript.bat");

0 Comments:

Post a Comment

<< Home