|
Rate question difficulty level
|
0
|
0 Votes
|
You have an object named FolderObject that get the path of a specific folder and the name of the folder.
FolderObject has 2 functions :
1.find all sub folders
2.find all files (in the folder)
The question is :
write a function that get the folder name (for example c:\mydocuments) and a file name (for example test.txt) .
the function needs to return all the instances of the file in the folder , sub folders etc ...