• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1720
  • Last Modified:

Flatten directory structure when browsing Windows files

I have a directory structure with many folders, sub-folders, sub-sub-sub, etc.
Only a handful of these folders actually contain files; most folders are empty.
I would like to be able to quickly see -- and double click to open -- all of the files.
Instead of drilling on each folder several times just to find that it's empty.
A way to see all the files, at once, get their total count and file size, sort, etc.

Is there a setting in Windows XP or Vista in Explorer (doubt it), that allows this?
Alternately, a 3rd party utility that "flattens" (in a virtual way only) the dir's?
I would normally look on CNET or Download.com but it's kind of hard to describe.

When I say virtual, I'd like to keep the files where they are (original sub-folders).
Just that I'm looking for an easier way to inspect the contents of that nested dir.
  • 2
2 Solutions
use this command at DOS:

to save the result to file:
DIR /A /S > temp.txt
jamalogistAuthor Commented:
This shows me all the empty folders too, what I want is folder-less list of just the files, that I can also ideally open as well (like in Explorer.. not a static file).   But even in a static file, I'd like this to be a workable list I can import into Excel to sort / etc.  It won't work to have a lot of "noise" like:

.  <dir>
.. <dir>
0 bytes

.  <dir>
.. <dir>
0 bytes
Ztree http://www.ztree.com/

Shareware.  Free to try for 30 days.

Navigate to the master folder concerned.  Hit the * on the keypad and let it blow up the folder structure beneath.  Hit the B key and you are looking at all of the files in the folders concerned.
jamalogistAuthor Commented:
Thanks, the 3rd party tool sounds like an ideal solution, the dos command is a tolerable approach with standard tools.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now