getting name of a file extension from explorer

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

How do you go about getting the "type" of a file from explorer? Say if I
want to know what the type for the extension .DOC was, which is "Micrsoft
Word Document" in explorer, how would I do this? I just want to get the name
of the extension.. I do not have the physical file to reference for this, I
just want to make a listing similar to that of the one in explorer's folder
options under the file types tab. Thanks!
 
yes, but doesn't that require a file that already exists to be passed to it?
I've tried it before with files that exists and got it to work, but never
with just a filename with no physical path to a existing file, which is what
I need.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top