I am trying to figure out a way to grab the folder names found at a certain depth from a base folder.
I have a base directory (starting point) "C:\Program Files\Microsoft IPTV Services\crashlog" and i want to find the names of all folders 2 directories deep (there could be multiple)
The structure is in this format:
C:\Program Files\Microsoft IPTV Services\crashlog\yyyyMMdd\hh\EventID\Filenames.log
I need to find all the folders EventID's in any folder date or hour there are multiple dates and multiple hours to loop through. And inside each hour directory I would need all of the folder names inside it that will give me the event Id's that happened on certain dates at certain times.
Hope this all makes sense. Thanks for the help.