Recursive directory listing in DOS
dir /s /b /a:d>output.txt
will port it to a text file
You can use:
dir /s
If you need the list without all the header/footer information try this:
dir /s /b
(For sure this will work for DOS 6 and later; might have worked prior to that, but I can't recall.)