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.

Recommended Answers

All 2 Replies

Exactly what I needed. Thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.