Thursday, April 2, 2015

How do I run command line commands from an C# console application?

Well, a coworker has found one way... System.Diagnostics.Process.Start ...for example, this suggests one may open Notepad with a specific file loaded like so:

System.Diagnostics.Process.Start("Test.Txt"):

No comments:

Post a Comment