title: C fopen fails for write with errno is 2
body: <p>I do not understand why this is seemingly failing with errno of 2:</p>
  
  <pre><code>char debugText [256];
  sprintf (debugText, "C:\\List.txt");
  dfile = fopen( debugText, "w");
  fprintf ( dfile, "  err %d \n", errno);
  </code></pre>
  
  <p>I say seemingly because while dfile is NULL the file gets created and is filled with my output.</p>
  
  <p>so what is going on ?</p>