Sunday, 8 September 2013

How to specify the directory for searching file all over the system

How to specify the directory for searching file all over the system

I am writing a file system program in C++. Now I try to write a file
finding function. First I want program be able to search the file in all
system. I use FindFirstFile and FindNextFile Windows API functions. First
I should call FindFirstFile , and give it the directory, where it must
search the file. But I don't know, how to specify the diirectory so that
FindFirstFile searches in all the system. Please, help me with that
question. I will be very grateful for any help.

No comments:

Post a Comment