If you look at a bunch of files with the Details view, file types known to Windows have a greater description of the file in the Type column. For example, .exe is an Application, .txt is a Text Document, and .cpp is C++ Source. If they are not known, Windows just shows the extension plus the word 'file'. I need to get this extra description just as it would appear in Windows. Is there any way to get it from Windows programatically or would I have to manually create some kind of database? (I'd really rather not)
I can see all of the known file extensions and their descriptions by going to Folder Options and File Types, but I don't see an obvious way to get that description.