How to get information about type of file which does not have extension.
If I have folder named as [ABC] and also file name same as [ABC] without any extension.
I am using FindFirstFile() function to get folder information.
char path ="C:\ABC" HANDLE hFind; WIN32_FIND_DATA FindFileData; hFind = FindFirstFile(path, &FindFileData);
Above example works fine, when I have [ABC] folder in C: drive.
But if I don't have that folder, instead I have some file with same name without extension, it displays microsoft error.
My Question->How to I get the information about unrecognized file ?
Please help me on this.
Thanks in advance.