The Mudcat Café TM
Thread #135231   Message #3083058
Posted By: JohnInKansas
26-Jan-11 - 08:09 PM
Thread Name: Tech: Amazing/useful way to see PC files-BillD
Subject: RE: Tech: Amazing/useful way to see PC files-BillD
C:\>tree /?
Graphically displays the folder structure of a drive or path.

TREE [drive:][path] [/F] [/A]

     /F   Display the names of the files in each folder.
     /A   Use ASCII instead of extended characters.

Type C:\>tree > tree.txt. Open tree.txt using Word. Print if desired ??????

I don't think I'll print mine. For Folders only (without listing filenames) the tree for my C:\ root is 758 pages. I'd guess that tree /F would give about the same text file size as DIR.

DIR *.* /S > CDir.txt makes the CDIR.txt file at about 1800 pages the last time I looked.

You can list all the files with either method, and in Word you can search for a filename much more accurately than anything a Vista "Search" can do.

Regardless of which you use, it's easy to tell what folder contains the file you find, and DIR gives you all the file sizes and the total for each folder/directory, as well as total number of files, number of folders, and total cumulative size of all the files.

John