title: Console app not parsing correctly args with white spaces
body: <p>I've created a .NET console application that gets some command line arguments.</p>
  
  <p>When I pass args with white spaces, I use quotes to embrace these arguments so that they are not splitted by cmd:</p>
  
  <pre><code>C:\MyAppDir&gt; MyApp argument1 "argument 2" "the third argument"
  </code></pre>
  
  <p>If I execute the app in Windows XP it works fine: it gets 3 arguments:</p>
  
  <ul>
  <li>argument1</li>
  <li>argument 2</li>
  <li>the third argument</li>
  </ul>
  
  <p>However, if i execute it in Windows Server 2008 it seems to ignore quotes: it gets 6 arguments:</p>
  
  <ul>
  <li>argument1</li>
  <li>"argument</li>
  <li>2"</li>
  <li>"the</li>
  <li>third</li>
  <li>argument"</li>
  </ul>
  
  <p>Any ideas why?</p>
  
  <p>NOTE: I printed arguments just when Main starts execution using this code:</p>
  
  <pre><code>Console.WriteLine("Command line arguments:");
  foreach (string arg in args)
  {
      Console.WriteLine("# " + arg);
  }
  </code></pre>