MS-DOS Commands :: assoc
Overview:
Warning: This command is for advanced users only!
Displays or modifies filename extension associations.
Command Variations:
assoc
assoc | moreDisplays a list of all filename extension associations. Since the list is very long, use
assoc | more to view the list one page at a time (press spacebar for next page, Ctrl-C to stop; see: more). assoc extension
Displays the association for the extension filename extension.
help assoc
Displays or modifies file extension associations ASSOC [.ext[=[fileType]]] .ext Specifies the file extension to associate the file type with fileType Specifies the file type to associate with the file extension Type ASSOC without parameters to display the current file associations. If ASSOC is invoked with just a file extension, it displays the current file association for that file extension. Specify nothing for the file type and the command will delete the association for the file extension.
(Enlarge: help assoc)