title: Pass file as an argument to visual studio
body: <p>I try to debug a program in VS2010. In Windows PowerShell I type<code>./Nbody.exe ./config.txt</code>. But, when I enter <code>.\config.txt</code> or other forms of it in the Command Argument form Debugging section from Property Manager window it seems that my program cannot find the file. In fact this part of my code respond:</p>
  
  <p><code>ifstream CSVfile(CSVFileName);</code></p>
  
  <pre><code>if (CSVfile == NULL) {
      cout &lt;&lt; "ERROR: Cannot Open CSV file" &lt;&lt; endl;
      exit(1);
  }
  </code></pre>