tldr/pages/windows/assoc.md

17 lines
382 B
Markdown
Raw Normal View History

2018-09-21 20:03:18 +01:00
# assoc
> Display or modify file extension associations.
2019-08-22 13:37:57 +01:00
> More information: <https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/assoc>.
2018-09-21 20:03:18 +01:00
- Display all associated filetypes:
`assoc`
- Display the associated filetype for a specific extension:
`assoc {{.txt}}`
- Modify the associated filetype for a specific extension:
`assoc {{.txt}}={{txtfile}}`