Click here to Skip to main content
15,889,838 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Create a program that will traverse all the folders based on a given path, and print out the names of all text files that reside in the lowest depth folder.Given

C:\Temp
    Hello.txt
    \Foo
        Goodbye.txt


If the above folder structure existed and the user entered C:\Temp as the path, the output would be:
Goodbye.txt
Posted
Updated 12-Aug-14 6:32am
v2
Comments
PIEBALDconsult 12-Aug-14 12:30pm    
We won't do your homework for you.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900