@FTYPE[xxx[,u]] : Returns the open command string for the specified file type. @FTYPE looks first in ...\SHELL\OPEN2\COMMAND, then (if no match was found) in ...\SHELL\OPEN\COMMAND. If the optional second argument u is specified, @FTYPE will look in HKCU\SOFTWARE\CLASSES.

 

Example:

 

echo %@ftype[Word.Document.8]

"C:\Program Files\Microsoft Office\Office14\WINWORD.EXE" /n ""

 

See also @ASSOC and FTYPE.