Specifying an Extension for a Text File

When you create a new text file, you can specify an extension for that file in the New wizard.

To specify a file extension for a text file:

  1. Choose File and choose New.
  2. Expand Other and select Text File. Click Next.
  3. In the Target Location pane of the wizard, type a name for the file. Do not include the extension. Then click Next.
  4. In the Choose Extension pane of the wizard, select an extension from the combo box. You can also type an extension in the Extension field.

If you want to work with files that have extensions not recognized by any object type, you can configure an object type to recognize that extension.

To add a file extension to an object type:

  1. Choose Tools and choose Options.
  2. In the Options window, expand IDE Configuration and expand System and expand Object Types.
  3. Select the node of the object type you want to add the file extension to.
  4. Select the File Extensions property and add your extension to the list.
Tip The contextual menus for objects in the Explorer contain commands that are determined by object type. You can set these commands in the Options window. Select the node for an object type. Then select the Actions property and click the ellipsis (...) button. Edit the list of commands in the property editor.
See also
Adding a File Extension to an Object Type
Displaying File Extensions
The Explorer
Mounting a Filesystem

Legal Notices