In Linux we can use "cd -" to enter the previous directory, like:
/home/user: cd /a
/a: cd -
The - means the latest previous directory.
migrated from stackoverflow.com Dec 11 '09 at 6:21
This question came from our site for professional and enthusiast programmers.
Windows command-line by itself, no...
Not sure it's really what you want, but it might solve some or your problems.
(The other solution being to just... use Linux ^^ )