System.Diagnostics.Process process = new System.Diagnostics.Process(); System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(); startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; startInfo.FileName = "cmd.exe"; string _path = textBox1.Text; startInfo.Arguments = string.Format("/C start {0}", _path); process.StartInfo = startInfo; process.Start();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)