Charles Dye
Super Moderator
- May
- 5,364
- 163
Staff member
According to the help file, DIRS dumps the directory stack most-recent-first, i.e. the first directory listed will be restored by POPD. In fact it's the reverse; the directory stack is displayed most-recent-last, and POPD will return to the last entry displayed.
I don't know whether this is a bug or a doc error. FWIW, CMD.EXE's PUSHD command, sans args, dumps the directory stack most-recent-first.
(No, I personally can't imagine caring. But see the thread "A particular program that I like to use..." in the TCC/LE support forum for an example of a program which seems to use the directory stack to fake a directory history; the format may be significant to that program!)
I don't know whether this is a bug or a doc error. FWIW, CMD.EXE's PUSHD command, sans args, dumps the directory stack most-recent-first.
(No, I personally can't imagine caring. But see the thread "A particular program that I like to use..." in the TCC/LE support forum for an example of a program which seems to use the directory stack to fake a directory history; the format may be significant to that program!)