title: Multiple commands on a single line in a Windows batch file
body: <p>In Unix, we can put multiple commands in a single line like this:</p>
  
  <pre><code>$ date ; ls -l ; date
  </code></pre>
  
  <p>I tried a similar thing in Windows:</p>
  
  <pre><code> &gt; echo %TIME% ; dir ; echo %TIME
  </code></pre>
  
  <p>But it printed the time and doesn't execute the command <code>dir</code>.</p>
  
  <p>How can I achieve this?</p>