2

A user wants to make sense of a very messy Windows shared drive, and asked for a way to print out all the directories together with their subdirectories.

Is there any way to do that?

4

I have never tried this but in theory can you not use command prompt (cmd) then change to the directory you require....run the following

tree > tree.txt

this would make you a file named tree.txt listing the tree of the directory it was run from

or another would be (replace Folder with the folder in question)

dir /d /s C:\Folder > C:\mydir.txt

This would make a file name mydir.txt in the root of C:\

hope that helps.

1
  • wow, good ol' tree still works! love that about microsoft Oct 6 '09 at 13:54
4

Have a look at Treesize Free. It'll show you the directory structure, and how much space each folder is using of the total disk size. Very handy tool for shared drive cleanups.

Treesize Free Screenshot
(source: jam-software.com)

2
  • That is nice little utility...thanks for posting link
    – Rodent43
    Oct 6 '09 at 13:41
  • Treesize has saved me many times! Oct 6 '09 at 13:44
2

Not an answer to the exact question but also useful for making sense of drives is https://windirstat.info/

windirstat example

2
1

Use the command:

dir /S /B /A:D

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy