Tree ms dos command

ever needed to print a tree structure of a folder location, only to realise that you cannot see it all because the tree command doesnt have enough buffer space.

Well just tell tree to output the tree to a file like this

open a command prompt, then paste

tree c:\users /a > “%temp%\t1.txt” & start notepad “%temp%\t1.txt”

change accordingly

Leave a Reply

Your email address will not be published. Required fields are marked *