Feb 3
2011
Print a directory tree with subdirectories
A coworker asked me how to print a directory tree from our windows server including the subdirectories. After about 10 minutes on google I found a dos command that will do just that, and save it to a text file:
dir *. > /ad /s /b > yourfile.txt
Sometimes I think gui’s have made us dumb.
FINALLY, I’ve wanted this for a hot minute.