Files
cheatsheet-tldr/windows/ftype
2024-02-21 11:19:49 +00:00

22 lines
513 B
Plaintext

---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}"`