Yahoo Answers is shutting down on 4 May 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
How can I print a folder directory to a text file?
There used to be a program called Dir2Text, which you could just point it to a folder or a whole disk, and it would traverse the directory and print it to a textfile, with subfolders indented and everything. Now I need it and can't find it. Anyone know where to find it? Or is there something better these days? TIA
3 Answers
- ?Lv 66 years agoFavourite answer
The program is classically called `tree':
On a Unix system, at a shell prompt, run
tree -o myfile
http://linux.die.net/man/1/tree
On Windows, at a shell prompt, run
tree > %USERPROFILE%\tree.txt
- 6 years ago
hey is there anyway I can contact you. I'm helping my son with some chemistry work and you seem to know a lot