I want to get the full path of a file(For example c:\Mytrial\Sample\Display.txt ) by just giving the file name(For example Display.txt) as input
The File may be present at anyone of the drives in my PC (Any random directory path). I want to find the full path of the file by running a MFC code from some other drive in the same PC and giving just the file name as input( For example Display.txt ) to the code.
then after i will delete the file.
I tried with CFileFind class without success. Any VC++ experts help me by suggesting some sample code.
please help. how to find the file and how to delete.
thank you very much