3

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

  • 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
1

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

0

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

  • 2
    They're even available in cmd, at least on Windows XP, but not with the cycling behavior AFAIR. – Gilles 'SO- stop being evil' Aug 12 '10 at 16:02
0

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.

  • Looks like it does roughly what I want. Will have a look. – justintime Dec 9 '10 at 9:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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