System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo(filename); psi.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal; psi.UseShellExecute = true; psi.Arguments = string.Format("\"{0}\" \"{1}\" \"{2}\""
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo(filename);
psi.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal;
psi.UseShellExecute = true;
psi.Arguments = string.Format("\"{0}\" \"{1}\" \"{2}\"", arg, strTableName, timeOut);
System.Diagnostics.Process listFiles;
listFiles = System.Diagnostics.Process.Start(psi);
Application.DoEvents();
listFiles.WaitForExit();