I have a standalone VB script that will get all the file information from a given address path and write them in a excel. It can access all the subfolders and their file information too. I don't want to access all the levels of the subfolders. I want only 3 levels of subfolders information.

Please Login or Register  to view this content.
vbimg1.png

From the above image you can see the details of files in the subfolders. I want to access only till the lib folder. I don't want to access bods_buddy folder.

vbimg2.png

Same here I want to access only till bin folder. Is there a way to achieve this.

This is how my final excel look like .
vbimg3.PNG