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?

  • 2
    I wouldn't das you made it up, but maybe you made a batch to do so for you? As for myself I never ever heared of such a command. – Raffzahn Nov 8 '18 at 12:13
  • 1
    By the way, generally I use pushd instead of cd /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 of popd to get back to where you were. – Matteo Italia Nov 8 '18 at 22:48
  • 2
    @Raffzahn it was actually very common and popular, back in the day – eis Nov 9 '18 at 6:11
  • How badly do you want it to work on modern Windows? – Joshua Mar 22 at 16:36

I remember CDD as a 4DOS command, which would have been available in the Norton Utilities as NDOS. JP Software’s other shells also implement CDD, so 4OS2 and 4NT users would probably recognise it too.

There is at least one batch file implementation of CDD too, developed by Gary Mays in 1996, and provided as part of his “M” batch file enhancer (which I can’t find on the Internet right now).

Under Windows you could use Take Command or TCC, the descendants of 4DOS, which still include CDD, or write a command file to implement it.

| improve this answer | |
  • 1
    Yes! NDOS, that's it. I remember now... Thanks. – dim Nov 8 '18 at 12:18
  • Depending from what one was running in the 1990s, it could alternatively have been 4NT or 4OS2. Also, present tense: Under Windows one can use TCC. – JdeBP Nov 9 '18 at 9:49
  • @JdeBP I intended that as the conditional tense, not the past tense. (Note the present “still include CDD”.) The OP explicitly mentioned using DOS. – Stephen Kitt Nov 9 '18 at 9:51
  • 1
    In Windows 7 and later, you can also create a CDD.BAT file that contains the single line CD /D %1. The only caveat is that you must CALL CDD D:\FOO if you want to use it within another batch file. TCC would be a better solution. – Jeff Zeitlin Nov 14 '18 at 20:59

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.