title: Windows command prompt custom commands
body: <p>I am looking for a way to customise some of the Windows command prompt (cmd.exe) commands. I would like the new command to be called instead of the one defined by Windows to do almost the same thing except some minor customisations. An example could be with the pushd command print a message saying which directory is changing to. This could be useful, for example, to have the output a .bat script parsed by another tool.</p>
  <p>As an example, pushd.bat would look like:</p>
  <pre><code>@echo off
  pushd %1
  echo Entering directory `%cd%'
  </code></pre>
  <p>...but where should I put this so that it gets called instead of the internal command pushd?</p>