How do I print a folder and file directory tree?

stuman74

Senior member
Oct 26, 1999
874
1
81
Is there an easy way to print the contents of a folder and all of it's sub-folders in windows explorer? I need to dig through a ton a files and if it's in a single long directory tree list it would really be helpful. Thanks!
 

stash

Diamond Member
Jun 22, 2000
5,468
0
0
dir /s > output.txt

Then open output.txt and print. Is that what you were asking for?
 

stuman74

Senior member
Oct 26, 1999
874
1
81
Originally posted by: stash
dir /s > output.txt

Then open output.txt and print. Is that what you were asking for?

Kinda. I just did that and it did print a list in the txt file. Would prefer to view more like a tree structure or like when you are inside a WinZip file. I can probably make do though with the method you provided. Thanks.
 

jalaram

Lifer
Aug 14, 2000
12,920
2
81
There used to be a command called tree IIRC. I don't see it in my cmd prompt however.

Here's an example of how it looked. Text

Edit: Didn't see it on XP64's cmd. However, my XP32 still had it.

Type "Tree /f"