Udostępnij za pośrednictwem


Find out which application handles a certain file extension

There are times you may wonder which application handles a certain file extension.

In Windows there are really two concepts: File Extension and File Type. File extension can be associated to a file type. Applications work on file type, not directly on file extension.

You can use assoc to find out which file type a file extension is associated with, and ftype to find out which application is registered to handle the file type.

D:\>assoc .htm
.htm=htmlfile

D:\>ftype htmlfile
htmlfile="D:\Program Files\Internet Explorer\IEXPLORE.EXE" -nohome

Comments

  • Anonymous
    August 22, 2006
    The comment has been removed
  • Anonymous
    August 22, 2006
    thanks Chris.

    Updated.
  • Anonymous
    August 27, 2006
    The comment has been removed
  • Anonymous
    August 30, 2006
    PingBack from http://technote.thedeveloperside.com/?p=94
  • Anonymous
    October 31, 2006
    Thanks, that's cool. I've been programming for many years, but I don't even know this exists!