How To Print Your Directory Tree To Text


I see you can do this buying software, but it can be done very easily with a Dos Command Statement. In fact; every Dos Command Statement can be directed to a directory and a text name.
For instance, your directory tree. At C:\> you simply type;

DIR/V > C:\DirName\TREE.TXT. DirName would be the directory you are sending the text file to. The /V stands for VERBOSE. That will give you a report that lists

Volume in drive C is BUD
Volume Serial Number is 218E-70C6
Directory of C:\
File Name   Size   Allocated   Modified   Accessed   Attrib

And here you'll see in order all of the above options. Try it. You don't need the /V.
Back To The Top

Bud's CDs FREE MP3s     Alphabetical Index Of Everything In This Site