hey how can i search for a file in HDD ,
example i wanna search for a file settings.ini in my computer .
First you have to get a list of valid drives. This was discussed previously on the StackOverflow.
The you have to call FindFirst/FindNext/FindClose on the root folder of each drive. Get a list of files and directories. Check the list of files. Repeat this for each directory. Until you run out of directories. Search for "[delphi] findfirst" on StackOverflow to find more information.