title: The filename, directory name or volume label syntax incorrect
body: <p>I get the following exception:</p>
  
  <blockquote>
    <p>D:\Try\folder\filename_1_06_09_2014_12:46:18.txt (The filename,
    directory name, or volume label syntax is incorrect)</p>
  </blockquote>
  
  <p>While using timestamp in renaming filename here:</p>
  
  <pre><code>for (int i = 0; i &lt; children.length; i++) { 
      String fileName = new SimpleDateFormat("MM_dd_yyyy_hh:mm:ss").format(new Date());
      copyDirectory(new File(sourceLocation, children[i]), new File(targetLocation, files+"_"+fileName+".txt"));
  }
  </code></pre>
  
  <p>I can't figure it out where I use invalid characters in windows filename. Any suggestions please?</p>