title: How to change current working directory using a batch file?
body: <p>This is essentially a duplicate of <a href="https://stackoverflow.com/questions/5138507/how-to-change-current-working-directory-using-a-batch-file">this question</a>, with the difference that the answer given does not seem to work. I also want to use a batch script to change the directory, but the given answer does no work:</p>
  
  <pre><code>cd /C C:\Users
  The specified path is invalid.
  </code></pre>
  
  <p>What am I missing?</p>