search file

Hy..
Help me to make my program can find a file in all drive in my computer

if I use findfirst & findnext function I just search in that directory
How to search in all path in my computer

thanks ,
Make a recursive function that searches through a folder, when it finds a folder, make it call itself.
how I know that file or folder
Start searching at C:\ i suppose..
no!!
ex : I want to search file "qabil.txt" ( in D:qabil/qabil.txt )
But I want to searching file in All computer drive , I search in C: , D: , E: , My Document, etc.

how?
you use the GetLogicalDrives function to get disk drives in your computer,then use findfirst & findnext function to search each directory.
if I search in drive D:
and my file is in 'qabil' folder , how I know thats qabil folder in drive d: ?
how I list folder name in a Drive ??? that is my question ?
search each folder in each drive.
compare the folder name is 'qabil' or not
Topic archived. No new replies allowed.