![Forrest logo](/images/logo.png)
assoc:tldr:0003d
The "assoc" command in computer systems is a short form for "association." It is used to display or modify file type associations in a Windows operating system.
When used without any parameters, the "assoc" command lists all the file extensions and their associated file types. For example, if you enter "assoc" in the command prompt, it will display a list of file extensions along with their respective file types.
Additionally, you can use the "assoc" command with parameters to modify file associations. For instance, if you want to change the association of a specific file extension, you can use the command in the following format:
assoc .
For example, if you want to associate ".txt" files with a different file type, you can use the command:
assoc .txt=TextDocument
This will change the file association of ".txt" files to the "TextDocument" file type.
Overall, the "assoc" command assists in managing and configuring how file types are associated with specific programs in the Windows operating system.