HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ftype — Display or modify file types used for file extension association. More information: <https://learn.m

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandmodifyusedclifileftypetypesdisplay
windows

Problem

How to use the ftype command: Display or modify file types used for file extension association. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/ftype>.

Solution

ftype — Display or modify file types used for file extension association. More information: <https://learn.microsoft.com/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_file}}"

Code Snippets

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_file}}"

Context

tldr-pages: windows/ftype

Revisions (0)

No revisions yet.