Table of contents
Collapse the table of content
Expand the table of content


jamiejdt|Last Updated: 6/16/2016
1 Contributor

Enables the user to change settings for a file type association.

SFTMIME CONFIGURE TYPE:file-extension [/GLOBAL] [/APP application] [/ICON icon-pathname] [/DESCRIPTION type-desc] [/CONTENT-TYPE content-type] [/PERCEIVED-TYPE perceived-type] [/PROGID progid] [/CONFIRMOPEN {YES|NO}] [/SHOWEXT {YES|NO}] [/NEWMENU {YES|NO}] [/LOG log-pathname | /CONSOLE | /GUI]



The file name extension to be configured.

/APP <application>

The name and version (optional) of the application to associate this file type with. Cannot be specified with PROGID.

/ICON <icon-pathname>

The path or URL for the icon file.

/DESCRIPTION <type-desc>

The user-friendly name for the file type.

/CONTENT-TYPE <content-type>

The content type of the file.


If present, indicates that the association that applies to all users should be edited, not the user-specific one.

/PERCEIVED-TYPE <perceived-type>

The perceived type of the file.

/PROGID <progid>

Indicates that the extension should be associated with a different file type. The previous file type is not deleted. Cannot be specified with APP, ICON, DESCRIPTION, CONFIRMOPEN, or SHOWEXT.


Indicates whether users downloading a file of this type should be asked whether to open or save the file.


Indicates whether the file's extension should always be shown, even if the user has requested that all extensions be hidden.


Indicates whether an entry should be added to the shell's New menu.


If specified, output is logged to the specified path name.


If specified, output is presented in the active console window (default).


If specified, output is presented in a Windows dialog box.

For version 4.6, the following option has been added.


If specified, output is logged to the specified path name in UNICODE format.

SFTMIME Command Reference

© 2016 Microsoft