Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1692
  • 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.
0
jamalogist
Asked:
jamalogist
  • 2
2 Solutions
 
ashunnagCommented:
use this command at DOS:
DIR /A /S

to save the result to file:
DIR /A /S > temp.txt
0
 
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:

directory1
.  <dir>
.. <dir>
0 bytes

directory2
.  <dir>
.. <dir>
0 bytes
0
 
dbruntonCommented:
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.
0
 
jamalogistAuthor Commented:
Thanks, the 3rd party tool sounds like an ideal solution, the dos command is a tolerable approach with standard tools.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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