title: Could not find a part of the path 'C:\
body: <p>Im getting this error. Even though i already created a folder "CMSExportedData"
  Could not find a part of the path 'C:\CMSExportedData\Sales-20\07\2012.txt'.</p>
  
  <p>Kindly help please</p>
  
  <pre><code>using (FileStream fs = new FileStream("C:\\CMSExportedData\\Sales-" + DateTime.Now.ToString("dd/MM/yyyy") + ".txt", FileMode.Create))
  {
      using (StreamWriter sw = new StreamWriter(fs, Encoding.Default))
      {
          //use stream
      }
  }
  </code></pre>