I distinctly remember, on the computer I had in the 90's, being able to type cdd D:\bla\bla
in the MS-DOS command prompt, to change both the current directory and drive (avoiding having to type D:
then cd \bla\bla
).
I regularly still type it in the Windows command prompt, which complains that no such command exists. Then I remember I must do it with cd /d D:\bla\bla
.
So it likely means this specific command wasn't actually part of MS-DOS. Did it come from some set of third-party utilities? I remember I might have something like Norton Utilities installed, but I couldn't find information about this specific tool in its Wikipedia page.
Or is my memory weak and I just made this up?
pushd
instead ofcd /d
- it is typed more easily (it's all letters, well distributed between the two hands, without need to shift to the symbols row) and you also get the bonus ofpopd
to get back to where you were.cdd
,pushd
andpopd
as built-ins.