> Commands A-M
> Commands A
Display or change the association between a file extension and a
Using this command will create or change values in the registry
at HKCR\\ .<file extension>
Display all the current file associations:
Display the current File Type for that extension:
Delete the association for that file extension:
- The file extension. A file extension is the last few
characters in a FileName after the period. So a file called
JANUARY.HTML has the file extension .HTML.
- The File extension is used by Windows NT to determine the
type of information stored in the file and therefore which
application(s) will be able to display the information in the
file. File extensions are not case sensitive and are not limited
to 3 characters.
- More than one file extension may be associated with the same
- e.g. both the extension .JPG and the extension .JPEG may be
associated with the File Type "jpegfile"
- At any one time a given file extension may only be associated
with one File Type.
- e.g. If you change the extension .JPG so it is associated
with the File Type "txtfile" then it's normal association with
"jpegfile" will disappear. Removing the association to "txtfile"
does not restore the association to "jpegfile"
- Specifies the file type to associate with the file
- File Types can be displayed in the Windows Explorer GUI:
[View, Options, File Types] however the spelling is usually
different to that expected by the ASSOC command e.g. the File
Type "txtfile" is displayed in the GUI as "Text Document"and
"jpegfile" is displayed as "image/jpeg"
- Display help.
FTYPE - Edit file types (used in
file extension associations)
ASSOCIATE - One step file
Equivalent Linux BASH commands:
export - Set an environment variable
Viewing file associations:
Editing file associations:
Deleting a file association:
- Windows NT