title: c# How to stop console from displaying "..." whilst StreamWriter copies large amounts of data from a DataTable
body: <p>I have a console app that takes hundreds of small files, puts them into a temporary DataTable and then copies the data to a single StreamWriter. That works fine.</p>
  
  <p>However, the console output continually adds "..." during the StreamWriter copy process, which is a bit annoying. </p>
  
  <p>Is there any way to turn this off, or just replace it with something else, suck as a blinking "."?</p>
  
  <p>Here's a cut down version of the code being used:</p>
  
  <pre><code>            Console.WriteLine("Writing to TA_{0}", fileType);
              var streamMaster = new StreamWriter(Settings.WorkingDirectory + "TA_" + fileType, true);
              streamMaster.Flush();
  
              foreach (var tempFile in filesList)
              {
                  var isZipped = tempFile.Contains(".gz");
                  var dtTempFile = InternalUtils.GetTable(tempFile, isZipped);
  
                  foreach (DataRow row in dtTempFile.Rows)
                  {
                      if(dtTempFile.Rows.IndexOf(row) != 0) streamMaster.WriteLine(String.Join(",", row.ItemArray));
                  }
                  streamMaster.Write(dtTempFile.Copy());
  
                  dtTempFile.Dispose();
              }
  
              streamMaster.Close();
              streamMaster.Dispose();
              Console.WriteLine("TA_{0} Complete", fileType);
  </code></pre>
  
  <p>The output looks a lot like this:</p>
  
  <p><a href="http://i.stack.imgur.com/5VD4S.png" rel="nofollow">Console Output</a></p>
  
  <p>Any ideas?</p>