title: How to run a command from specific directory in Windows?
body: <p>I want to run a command (say dir) from a specific folder. I tried following but it didn't work.</p>
  
  <pre><code>cd C:\Users\administrator\temp; dir;
  </code></pre>
  
  <p>I want to check all the directories present inside <code>temp</code> folder. How can I write a Windows batch script for that?</p>