The accepted answer of this question Fast Ways of Cd'ing on *nix? mentions bash having CDPATH

is there an equivalent in windows?

so from any directory e.g. c:\windows>
I could do c:\windows>cd compbar* and it'd take me to m:\a\b\c\d\e\compbar

what if there are many compbar directories? well, the CDPATH solution is one solution, I suppose you order them it'd search through the CDPATH environment variable and choose the first.

I'd like that for windows.

link|improve this question

69% accept rate
@Moab Can you be more specific about what method within powershell? – barlop Dec 21 '10 at 17:17
It was a suggestion to investigate, not up on powershell myself, sorry. – Moab Dec 21 '10 at 21:53
feedback

1 Answer

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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