title: How to get full path from savefiledialog and use in "startInfo.Arguments"?
body: <p>In my case the <code>SaveFileDialog</code> will not write any file, but I want to use to specify the path for a command line app which will create the logfile on the same location as "saved" in the sf dialog.</p>
  
  <pre><code>SaveFileDialog sfd = new SaveFileDialog();
  sfd.Filter = "*.txt";
  string sfdname = saveFileDialog1.FileName;
  if (sfd.ShowDialog() == DialogResult.OK)
  {
    Path.GetFileName(sfd.FileName);
  }
  
  startInfo.Arguments = "--log=" + Path.GetFileName(sfd.FileName);
  </code></pre>