Hi,
I have a hierarchy of folder structure -
Example :
- C:\Users\abc\Documents\Audit Drivers\Audit\ALL DA LIST\DBH1\Sunny\Invoice\2021\filename.pdf
- C:\Users\abc\Documents\Audit Drivers\Audit\ALL DA LIST\DBH1\Sunny\Invoice\2022\filename.pdf
- C:\Users\abc\Documents\Audit Drivers\Audit\ALL DA LIST\DBH1\Sunny\PCN Documents\Week 1\filename.pdf
and many more…
Parent folder : C:\Users\abc\Documents\Audit Drivers\Audit\ALL DA LIST
What I want to do is print the name of subfolders and filename inside this parent folder in an excel file
In this format -
Each level being the column of each subfolder and level 5 being the filename
Any insights/ suggestion would be highly appreciated
Thanks,
Sunny