Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

3 Answers 3

up vote 1 down vote accepted

Take a look at "Cd Deluxe" for a greatly improved "change directory" command: http://www.plan10.com/cdd/.

share|improve this answer

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

share|improve this answer
2  
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.