mirror of https://github.com/CrimsonTome/tldr.git
17 lines
376 B
Markdown
17 lines
376 B
Markdown
# assoc
|
|
|
|
> Display or modify file extension associations.
|
|
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/assoc>.
|
|
|
|
- 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}}`
|