Get filetype of files without extension

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

When you have activated the explorer option "hide known file
extensions" and you mail an attachment, on the receiving computer, the
extension has been lost.

With MS Word documents, this is no problem, the file will
automatically be opened with MS Word.
With pdf documents, this isn't the same... you get a dialog to choose
the right program (but when you open this, you can see PDF1.2).

Is it possible to programmatically get the file-type or extension from
those files?

Thanks in advance,

Netfreaky

.



Relevant Pages

  • Re: newbie seeks help w/file extensions
    ... create word documents, yes? ... These fancies arise in the soul, ... is but a dream within a dream. ... the resume is a Word document with a .doc extension. ...
    (alt.os.windows-xp)
  • Re: Letters......
    ... then ask him if he wishes to convert these to word documents though it will ... > "Michael Solomon (MS-MVP Windows Shell/User)" ... They may be able to give you discount on the Lotus ... > | This is not just a case of file extension. ...
    (microsoft.public.windowsxp.basics)
  • Re: newbie seeks help w/file extensions
    ... to create word documents, yes? ... There is, however, a class of fancies of exquisite ... where all that we see, or seem, is but a dream within a dream. ... the resume is a Word document with a .doc extension. ...
    (alt.os.windows-xp)
  • Re: get file-type of files without extension
    ... extensions" and you mail an attachment, on the receiving computer, the ... extension has been lost. ... With MS Word documents, this is no problem, the file will ... Is it possible to programmatically get the file-type or extension from ...
    (microsoft.public.scripting.wsh)
  • get file-type of files without extension
    ... extensions" and you mail an attachment, on the receiving computer, the ... extension has been lost. ... With MS Word documents, this is no problem, the file will ... Is it possible to programmatically get the file-type or extension from ...
    (microsoft.public.scripting.wsh)