tldr/pages/windows/assoc.md

17 lines
376 B
Markdown
Raw Normal View History

2018-09-21 20:03:18 +01:00
# assoc
> Display or modify file extension associations.
> More information: <https://docs.microsoft.com/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}}`