CDPATH in windows command prompt?

Posted by barlop on Super User See other posts from Super User or by barlop
Published on 2010-12-20T12:24:35Z Indexed on 2011/02/23 23:27 UTC
Read the original article Hit count: 247

Filed under:
|
|

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.

© Super User or respective owner

Related posts about Windows

Related posts about command-line