assoc
Windows CMD · Files · available in the simulator
What it does
Displays or modifies file extension associations.
Syntax
assoc [.extensión[=[tipo_de_archivo]]]
Options and parameters
.EXTdisplays association for an extension
.EXT=TIPOassociates a file type with the extension
.extDisplays the current association for the specified extension.
assoc .txt.ext=tipoAssociates a file type with the extension.
assoc .log=txtfile
Usage examples
assocassoc .txtassoc .txt=txtfileassoc .abc=MiTipoassoc .log=txtfile
Notes and common mistakes
- Without arguments, displays all associations. Modifying associations requires administrative privileges.