Hi to all.
I would count the number of directory nesting between a main directory and another.
For example:
main_directory = C:/IrisDatabase
directory = C:/IrisDatabase/1/session1/
What I would implement is a function doing this: nestingDirectory( main_directory, directory ) and it should return 2 ( the number of nested directories under the main directory.
I hope my question is clear as my english is not so good.
Best Regards
Bookmarks