title: Programmatically setting startin location when starting a process
body: <p>I have an application that creates a shortcut on my desktop and allows you to drag and drop files into the shortcut to perform an action (convert a word document to PDF). Now what I am trying to do is perform this action programmatically using shellexecute (.NET Process.Start()).</p>
  
  <p>The problem is that it doesnt seem to be working and I have a sneaking suspicion this has something to do with the fact that the shortcut created has the "Start in" parameter set to a specific folder.</p>
  
  <p>So it looks like this:</p>
  
  <pre><code>Shortcut target: "C:\Program Files (x86)\MyPDFConvertor\MyPDFConvertor.exe"
  Shortcut startin: "C:\Program Files (x86)\MyPDFConvertor\SomeSubfolder\SomeSubSubFolder"
  </code></pre>
  
  <p>My code was the following. </p>
  
  <pre><code>System.Diagnostics.Process.Start("C:\\Program Files (x86)\\MyPDFConvertor\\MyPDFConvertor.exe", "C:\\MyFiles\\This is a test word document.docx");
  </code></pre>
  
  <p>Fundamentally my question boils down to: What does "Startin" actually mean/do for shortcuts and can I replicate this functionality when starting an application using either shellexecute or Process.Start?</p>