1private void runSyncAndGetResults_Click(object sender, System.EventArgs e) 2{ 3 System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo(@"C:\listfiles.bat"); 4 psi.RedirectStandardOutput = true; 5 psi.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; 6 psi.UseShellExecute