title: Batch File error when using %time%
body: <p>xxxxWhen i run my DB BAckup file like this:</p>
  
  <pre><code>@echo off
  "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqldump" -hlocalhost -uroot -pxxxxx --all-databases &gt; "D:\DB backups\AllDBs_%date%.sql"
  </code></pre>
  
  <p>it works fine. Bus as soon as I add the %time% placeholder its doesn't work anymore.</p>
  
  <pre><code>@echo off
  "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqldump" -hlocalhost -uroot -pxxxxx --all-databases &gt; "D:\DB backups\AllDBs_%date%_%time%.sql"
  </code></pre>
  
  <blockquote>
    <p>The filename, directory name, or volume label syntax is incorrect.</p>
  </blockquote>
  
  <p>Anyone have an idea why this is not working? I've searched the Internet but havn't found anything saying it should not work.</p>