DKMonroe

Feb 3 2011

Print a directory tree with subdirectories

fredfinn:

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. 

via fredfinn
  1. dkmonroe reblogged this from fredfinn and added:
    FINALLY, I’ve wanted this for
  2. fredfinn posted this