Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a Windows command line tool that behaves like the linux version - if you have anumber of directories on the stack then pushd with no arguments cycles round that list of directories.

Edit I am interested in XP and Vista. I appreciate the OS have a pushd and popd command but they don't behave in the same way as the linux bash version

share|improve this question
What exactly is the cycling behavior? Googling for pushd cycle just returns references to this page. – Synetech Feb 23 '11 at 22:17
On many *nix shells, including bash, the pushd command with no arguments rearranges the stack of remembered locations, making one of the others current. Used multiple times, this can cycle you through several remembered places. It is quite handy once you get used to it. The Windows version does not do this trick. – RBerteig Feb 23 '11 at 22:37
up vote 1 down vote accepted

Take a look at "Cd Deluxe" for a greatly improved "change directory" command:

share|improve this answer

pushd & popd are available in the windows powershell. Now installed by default in Windows 7,

share|improve this answer
They're even available in cmd, at least on Windows XP, but not with the cycling behavior AFAIR. – Gilles Aug 12 '10 at 16:02

It's not a perfect solution, but maybe you could look at Take Command. Alternatively, it's almost certainly possible to modify the pushd & popd commands in PowerShell to do what you want.

share|improve this answer
Looks like it does roughly what I want. Will have a look. – justintime Dec 9 '10 at 9:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .