Quincy Center for Technical Education
Computer Technology Department

Assoc

Displays or modifies file name extension associations.

assoc [.ext[=[filetype]]]

Parameters

none

Displays the current file associations. To view associations one screen at a time, append the |more command. To redirect the output to a file, append the >filename.ext command.

.ext

Specifies the file name extension for which you would like to view or change the associations.

  • Type assoc .ext to view the current association for a file name extension.
  • Type assoc . ext= to delete the association for a file name extension.

filetype

Specifies the file type with which you want Windows 2000 to associate the specified file name extension.