need Help to design search Program..????
Hi. I just want to design a program which is able to find the file whose name is taken as input in the HARD DISK.
Suppose we want to search the file the name as "myfile.txt" then the Program will give the Output as the file exist and its complete position for ex: "D:\my folder\myfile.txt"..
i dont know from where to start this code..
My concepts of file handling in c are clear. By using fopen() we can check the existence of the file in a well known folder but I cant decide that how can we take the name of the unknown folders that exist in a Drive.
Need HELP and please give me some tips in writing this code.
I'm using Borland C on Windows XP.