Hi All I Am Trying To Make A Simple Search Enginge For Stuf
Like Files And Folders Can Eney One Give Me Eney Tips On How
To Go About It Please Thanks
Printable View
Hi All I Am Trying To Make A Simple Search Enginge For Stuf
Like Files And Folders Can Eney One Give Me Eney Tips On How
To Go About It Please Thanks
This example might be useful - it shows one way of listing all files that have a particular file extension, within a specified folder (including subfolders). It would be relatively easy to adapt to search for and list file/folder names instead, based on the same approach... It would also be possible to add additional options to check for file sizes, modification dates etc using the File object. Finally, you could add functionality to search for multiple filetypes/names etc.
There are other approaches you can use however to search for files / folders - e.g. you may wish to investigate 'Browsing Loops' using the File-Folder object.
Good luck!