As the title says i am starting a process using System.Diagnostics the file opens and i get everything i want from it but alas i get something that i don't want.When the file opens along with the information that it needs to present it presents the path to that file Here is the code that i use if anyone could help me get the things right i'll be thankfull to him/her.
Here is the code that i use:
private void button1_Click(object sender, EventArgs e)
{
Process New = new Process();
New.StartInfo.FileName = @"C:\Users\Kristifor\Desktop\Flash fixer\List Disk.bat";
New.StartInfo.UseShellExecute = false;
New.StartInfo.RedirectStandardOutput = true;
New.StartInfo.CreateNoWindow = true;
New.Start();
textBox1.Text = New.StandardOutput.ReadToEnd();
string g = textBox1.Text;
MessageBox.Show(g);
}