Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

DIRS command vs. docs

Charles Dye

Super Moderator
May
4,971
128
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!)
 

Similar threads

Back
Top