private void RunnSqlLoader() { string sp1 = _strPath + _strFileName + ".bat"; try { ProcessStartInfo startInfo = new ProcessStartInfo(@sp1) { WorkingDirectory = _strPath, CreateNoWindow = false, WindowStyle = ProcessWindowStyle.Hidden, UseShellExecute = false }; Process batchExecute = new Process { StartInfo = startInfo }; batchExecute.Start(); batchExecute.WaitForExit(); } catch (Exception ex) { throw ex; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)