how to make c# program run cmd commands

66

how to make c# program run cmd commands -

string strCmdText;
strCmdText= "/C copy /b Image1.jpg + Archive.rar Image2.jpg";
System.Diagnostics.Process.Start("CMD.exe",strCmdText);

Comments

Submit
0 Comments