|
ASSOC
Displays and modifies file extension associations. Simply
typing ASSOC will give you an alphabetical list of all the
file extensions and the file types/applications they are
associated with.
To change one enter ASSOC .file-ext=file-type
Syntax
assoc [.ext[=[filetype]]]
Parameters
. ext : Specifies the file name extension.
filetype : Specifies the file type with which you want to
associate the specified file name extension.
/? : Displays help at the command prompt.
Examples
To delete the file type association for the file name exten
sion .txt, type:
assoc . txt =
To view the current file type association for the file name
extension .txt, type:
assoc .txt
Batch File Commands
|