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. 

Replies

Likes

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

 

Reblogs