title: How to create a folder then create a csv file inside it
body: <p>I have an exe that already creates a csv file. If I save the exe in C:/EXE, then the cvs file automatically gets created in C:/EXE folder.
  C# code uses StreamWriter to accomplish this:</p>
  
  <pre><code>using (TextWriter log = new StreamWriter(errorLog + errorBatchNumber.ToString("000") + ".csv", true))
  {
      if (errorCount == 0)
      {
          log.WriteLine("Error message");
      }
      log.WriteLine(link.StatusMessage);
      log.Close();
  }
  </code></pre>
  
  <p>What I need to add:</p>
  
  <ol>
  <li>A folder needs to be created first where the csv file will be saved.</li>
  <li>This folder will be created where the EXE was saved, in this example: C:/EXE</li>
  <li>After folder and cvs file was created, it needs to be zipped thru code. (But I need to accomplish first 1 and 2) </li>
  </ol>
  
  <p>Any ideas?
  Thanks in advance guys! :)</p>