Check out example codes for "how to make c# program run cmd commands". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com