# 文件类型

The File Types explorer registers the following information about a file type on the target system when the component is installed or advertised:

## 注册一个文件类型

You can associate file extensions, such as doc and txt, with the component's key file . Right-click Extensions to specify a new file type. Enter your own extension without the dot (for example, enter ext instead of .ext) to replace the default name.

## Associate a File Extension with a ProgID

By setting the ProgID property in the extension, you can name a ProgID—for example, extfile—that will contain the file type registration. The ProgIDs item allows you to specify new ProgIDs while you're editing file extension properties.

## 指定动词

You can register command verbs (such as Open and Print) that appear in the context menu for a file of the registered extension. To add a new verb and specify its properties, right-click on the extension and select New Verb.

Then, enter the name of your new verb. You can use any of the “canonical verbs,” such as open, print, find, and properties.

## 注册一个 MIME 类型

You can register the multipurpose Internet mail extension (MIME) types, also known as media types or content types, for the component's key file. You can also associate a MIME type with a class ID.

Right-click a file extension to create a new MIME type.