Displays or modifies file types used in file name extension associations.
Ftype [filetype[=[command]]]
Parameters
filetype
Specifies the file type you want to display or change.
command
Specifies the open command to use when opening files of this type.
Type ftype without options to display the current file types that have open command strings defined.
Type ftype filetype to display the current open command string for this file type.
Type ftype filetype= to delete the open command string for the file type.
Within an open command string, ftype substitutes the following variables:
%0 or %1 are substituted with the file name being opened.
%* is substituted with all the parameters
%~n is substituted with all the remaining parameters, starting with the nth parameter, where n can be any number from 2 to 9.
%3 is substituted with the first parameter, %4 with the second, and so on.