I have 'm' no. of folders with 'n' of sub-folders and 'p' no. of sub-sub-folders inside them, which contain 'i' no. of images in each. Now I want to count and print them in excel sheet (with respective folders name in column). Note that few 'n' sub-folders may not contain 'p' sub-sub-folders.
Could anyone please explain me briefly with a sample program?