tldr/pages/windows/ftype.md

427 B

ftype

Display or modify file types used for file extension association. More information: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ftype.

  • Display a list of all file types:

ftype

  • Display the associated program for a specific file type:

ftype {{file_type}}

  • Set the associated program for a specific file type:

ftype {{file_type}}="{{path/to/executable_command}}"