Home

 

File associations

The File Associations preferences page enables you to add or remove file types recognized by the Workbench. You can also associate editors or external programs with file types in the file types list. To open the preferences page, do these steps:

Select Window | Preferences | General | Editors | File Associations.

The top right pane allows you to add and remove the file types. The bottom right pane allows you to add or remove the associated editors.

To add a file association, do these steps:

We add the Internet Explorer® as an additional program to open .ddl (database definition language) files. Select *.ddl from the file types list and click Add next to the associated editors pane.

In the Editor Selection dialog, select External Programs and click Browse.

Locate iexplore.exe in the folder where Internet Explorer is installed (for example, C:\Program Files\Internet Explorer), and click Open.

Click OK in the Editor Selection dialog and the program is added to the editors list.

Figure 3-14 File associations preferences

Note: Optionally, you can set this program as the default program for this file type by clicking Default.

Now you can open a .ddl file by using the context menu on the file and selecting Open With, and selecting the appropriate program.

ibm.com/redbooks