You can also try windirstat
http://windirstat.info/
Main Topics
Browse All TopicsHi, i was wondering if there was software out there that showed all directories and sub-directories in an orginisational chart of some sort?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You can also try windirstat
http://windirstat.info/
Try SpaceMonger.
http://www.sixty-five.cc/s
Dear jonathanduane08,
one more try:
Do you want the output in MS-Visio, PowerPoint or some other grafical representation ?
If yes, then I see two ways to do this, none of which are out of the box solutions:
a) You can write a small script to create a list of the directories like this to a file:
name parent
====== =======
dir1
dir2 dir1
dir3 dir2
....
and any other data you find relevant to put in the "org-chart" representation of the directory structure. Then you can import this list into OrgPlus. It will generate a wonderful org.chart structure from this with many options, and you can export this to pdf, powerpoint, html or word.
b) You can write a VB macro in MS-Visio or Powerpoint to scan the directory structure, and build the structure programatically. However, this requires some VB/Office programming experience, and is outside my capabilities. Maybe somebody would do this if you write up some more details on how you want it to look (or some example) and make a post in the VB forum.
I believe oldviking has hit the nail on the head in terms of possible approaches to the problem. (There is one other, very low-tech approach -- the DOS tree command. The output in a DOS window is actually not too bad, but even if you "pipe" the output to a file, it has limited value from there.)
So, back to oldviking's ideas:
Option A
The file below contains a macro that writes all subdirectories to an Excel worksheet as oldviking suggested. It doesn't contain any niceties yet -- like an easy way to select the starting directory. And the particular code I've borrowed chokes on directory names that contain certain punctuation characters such as a single quote ('). But if the concept works, those things can be added/fixed.
To run it, open the worksheet and press ALT+F11 to open the VB Editor. You'll see the place to enter the starting directory. Then go back to the worksheet and select Tools/Macro/Macros... and run the macro called WriteDirectoryTree. Save and close the file.
From there, go to Visio and use the Org Chart Wizard to import data from the file you just created.
No guarantees. You may or may not like the Visio org chart presentation but it's worth taking a look.
Option B
This is certainly feasible, but if the org chart wizard does what you need, that's probably easier because it includes things like automatic pagination and a wide variety of layout options.
It seems to me that we have provided a solution. The original request was for software that showed "all directories and sub-directories in an orginisational chart of some sort."
oldviking offered two ideas to achieve this result and I provided an Excel macro and instructions that implement one of his techniques (http:#25019917). The result is an organization chart in Visio that shows all directories and sub-directories. How is this not a solution? It may not be the ultimate solution but it works. And I offered above to add refinements if the solution is heading in the right direction.
Seems like the points should be split between oldviking and me...
I agree with Scott. Especially through the Excel Macro from Scott a workable solution was provided, which is a considerable effort. We have no feedback from jonathanduane08 that he found a better solution, or if this didn't meet his expectation. The original request was "software" to show directories and subdirectories - An excel Macro, and Visio Org Chart is "Software". To me, this requirement is certainly met.
So unless the we get feedback from jonathanduane08, I suggest 75% points to Scott for http:#25019917 and 25% points to myself for the original idea (http:#25012802).
The OP suggested that he was looking for a way to see what permissions each folder had in this suggestion ".. i have recently taken over an IT admin role and the permissions seem to be all over the place...". Is it possible to read a folders permission in VB. Dont get wrong guys, i personally think you should both receive points. I take an interest in this question only because i dont know the answer and would like to Kb this one.
In the process of finding a good way to get the folder attributes, I came across a much simpler method for getting the list of folders -- you'll notice that the attached code is much simpler. And not only is it simpler but it doesn't have any problem with folder names that contains single quotes! Better all around.
Columns one and two in the workbook are the same as they were before. Column three contains the heading "RHSAC" because it will contain one letter for each attribute that is turned on: Read-only/Hidden/System/Ar
If the macro finds any of the five attribute bits set it replaces the dash in the appropriate position with the letter of the corresponding attribute.
To use this extra column of data in Visio, there are two key dialogs in the organization chart wizard. I've included screen shots of both below. In the first, you indicate which columns of data you want to have displayed on each org chart shape; I just selected the folder name -- you might want to include the attribute string.
In the second dialog, you specify which fields, if any, you want to be stored in the org chart shape as shape data (known as "custom properties" in Visio 2003 and earlier). You can store all, some or none of the fields. The advantage of storing the data is that you can then use the Visio report wizard to create summary reports.
And -- if after all this you don't like the layout options Visio provides, scroll up to oldviking's first recommendation of OrgPlus. It may provide a format you like.
FlooringPro and oldviking: thanks for the comments. And thanks, oldviking, for the serious assist.
In fact...
ModernMatt: jonathanduane08 didn't split the points -- can you shift at least 25% of the points to oldviking??
oldviking: re your comment about a wider audience, I've already been thinking that this would be a good basis for an EE article (http://www.experts-exchan
Scott
It's been a very long time since the thread above -- but oldviking and I have finally <font id="linkPlaceHolder">publi
User error on the previous post -- I clicked submit prematurely.
It's been a very long time since the thread above -- but oldviking and I have finally published an article on this subject. It includes screen shots, examples and a Visio macro that automates selection of a starting directory and creation of the org chart. Please let us know what you think by adding comments to the article.
Business Accounts
Answer for Membership
by: oldvikingPosted on 2009-07-31 at 07:44:24ID: 24989219
Take a look at Human Concepts OrgPlus: www.orgplus.com
Visio contains the little brother of this, but with little automation.