tldr/pages/windows/assoc.md

382 B

assoc

Display or modify file extension associations. More information: https://docs.microsoft.com/en-us/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}}