title: Open cmd, change directory and execute command
body: <p>I'm trying to write a simple batch file to initialize some tools I need on windows startup.
  This is what I've at the moment:</p>
  
  <pre><code>@echo off
  start /d "C:\Program Files\Sublime Text 3" sublime_text.exe
  start cmd.exe /k cd /d "D:xampp/htdocs/webshop"
  </code></pre>
  
  <p>What I'd like to do is to execute the command <code>compass watch</code> once the directory has changed.</p>
  
  <p>I tried <code>start cmd.exe /k cd /d "D:xampp/htdocs/webshop" /k "compass watch"</code> but it refers to the cd command then and thus throws me an error message (The system cannot find the path specified).</p>
  
  <p>Any suggestions?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>To clarify what I need:</p>
  
  <ol>
  <li>Open console</li>
  <li><code>cd</code> to the relevant directory</li>
  <li>Execute the command <code>compass watch</code> (in that directory)</li>
  </ol>
  
  <p>I normally do this by manually typing in the commands into the console as listed above. What I'd like to have is a simple .bat file that does exactly that with just one click.</p>