public void MakeDocs() { var Process = System.Diagnostics.Process.Start("CMD.exe", "/C MakeDocs"); Process.WaitForExit(); }