Challenge for you guys, here:
I need some method (preferably built-in, but F/OSS third-party apps may also be considered) to generate a list of sub-folders, at a certain level, along with (or, better, filtered by) their "modified date". Please note, that I need a list of folders only - the output should exclude files.
Example:
For folder structure:
C:
\---Reports
+----Task1
| \----Report1
| +----CSV
| +----HTML
| \----XML
+----Task2
| +----Report1
| | +----CSV
| | +----HTML
| | \----XML
| +----Report2
| | +----CSV
| | +----HTML
| | \----XML
| \----Report3
| +----CSV
| +----HTML
| \----XML
\----Task3
+----Report1
| +----CSV
| +----HTML
| \----XML
\----Report2
+----CSV
+----HTML
\----XML
I want the list to have information similar to:
PATH | MODIFIED
=============================|==========
C:\Reports\Task1\Report1 | 6/23/2011
C:\Reports\Task2\Report1 | 6/17/2011
C:\Reports\Task2\Report2 | 6/30/2011
C:\Reports\Task2\Report3 | 7/06/2011
C:\Reports\Task3\Report1 | 6/22/2011
C:\Reports\Task3\Report2 | 7/13/2011
(Note the exclusion of folders above or below the level of "Report#" folders.)
Or, ideally, I'd like something that could generate a report like this:
PATH | MODIFIED
=============================|==========
C:\Reports\Task1\Report1 | 6/23/2011
C:\Reports\Task2\Report1 | 6/17/2011
C:\Reports\Task2\Report2 | 6/30/2011
C:\Reports\Task3\Report1 | 6/22/2011
=============================|==========
TOTAL | 4
(Note that this represents a filtered version of the previous list, restricted to a certain date range.)
This is going to be done in Windows XP/2003. PowerShell is available. Again, I'd rather use available built-in utilities, but F/OSS tools may be considered also.