if (txtPath.Text.ToString() != "") { string cmd1 = string.Format(@"/k pushd " + txtPath.Text.ToString()); string cmd2 = string.Format("batch1.exe"); ProcessStartInfo cmdsi = new ProcessStartInfo("cmd.exe"); cmdsi.Arguments = cmd1 + "&" + cmd2; Process.Start(cmdsi); }
"BackgroundWorker is currently busy and cannot run multiple tasks concurrently"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)