title: C#: Start process with multiple arguments,any way one of them to be equal to textbox.text?
body: <p>Windows Forms application, calling a command prompt from a button.
  I managed to pass multiple arguments to it via the following way</p>
  
  <pre><code>Process execute = new Process();
  execute.StartInfo.WorkingDirectory = minusstring; //string equal to textBox1.Text
  execute.StartInfo.FileName = @"cmd";
  execute.StartInfo.Arguments = @"-log d:file.txt -c ""arg2"" -y ""arg3"" -z ""HOW?""";
  execute.Start()
  </code></pre>
  
  <p>What i m asking is a way to fill the -z argument (the HOW? in my code) with the textBox2.Text value, which is filled by the user. The value filled by the user is the path of file in a local drive, lets say c:\Folder\foo.txt</p>
  
  <p>Bear with me and possible stupid mistakes, i just started learning.</p>