title: pushd in Windows Power Shell and Command Prompt
body: <p>I have a batch script on my computer called <code>cs.bat</code>. When I enter <code>cs</code> in the command prompt, <code>pushd</code> takes me to a certain directory and leaves me there. In PowerShell, the command does the same thing but then brings me back into the starting directory.</p>
  <p>Why is this the case? How can I make it so that I stay in the directory after typing 'cs' into power shell?</p>
  <p><a href="https://i.stack.imgur.com/Orr7H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Orr7H.png" alt="Windows PowerhShell versus Windows command prompt and batch file edited in Notepad" /></a></p>