I'm writing a small test application. I'm trying to run the command prompt through a C# console app, but I can't get it to work.
Everything I've researched says I am doing it correctly.
Here is the code:
class Program
{
static void Main( string[ ] args )
{
Process.Start( "cmd", "echo testing" );
Console.ReadKey( );
}
}
When it runs, the cmd window appears, but "testing" is never written.