You are on page 1of 8

In Windows, how do I associate an application with a file type?

To ensure that a particular application (e.g., Notepad) handles a given file type (e.g., a .txt file), follow the instructions below. Note: The following web site lists most file extensions and their associated programs: http://filext.com/

Windows Me, 2000, and XP


1. Double-click the My Computer icon. This will open a folder that shows all of the drives located on your system. Note: The Windows XP default desktop view and Start menu are different from the Windows Classic View (e.g., in Windows 2000). Therefore, navigating to certain items can be different. In the interest of broad applicability, most Knowledge Base instructions assume you are using Classic View. For information about switching your Windows XP default view to Classic View, see In Windows XP, how do I switch to the Windows Classic View, Classic theme, or Classic Control Panel? 2. From the Tools menu, select Folder Options... . 3. In the window that opens, click the File Types tab, and then click New. 4. Fill in the "File Extension" box with the file extension (the letters after the period in the filename) that you want to associate. 5. Click the Advanced button. This will open a field for "Associated File Type". You can select the type of file that this extension is associated with from the drop-down list, or allow Windows to specify it. Once this is completed, click OK. If the files with that extension already have an association, you will get an error that says something like: "Extension '.txt' is already associated with the File Type Text Document. Do you want to un-associate .txt with Text Document and create a new File Type for it?" If this happens, click No and see the section below on editing a file association. 6. Click Advanced, and then click New. 7. In the New Action dialog box, in the "Action" field, type: open

8. In the next field, type the full path to the application that should be used to open the file. If you don't know the full path, you can use the Browse... button to find it. When you have finished with this, click OK. 9. If all the information is correct, click Close. You will see the newly created icon in the subwindow. Click Close again. Any file with the extension you just specified will open in the associated application when you double-click the file. Editing a file association To edit a file association, follow the first three steps above to get to the Folder Options or Options window, and then follow these steps: 1. Search the list under "Registered file types" for the program that is currently registered to open files with the extension you'd like to edit. This can be the most difficult step because the actual listing for the file type under "Registered file types:" may not match the error you received in step 5 above. You may have to highlight each item one by one and look at the extension listed under "File type details" to find the file type associated with the particular extension you wish to edit. 2. When you find the file type, highlight it and click the Delete button. 3. Return to step 5 above to continue creating a new file association. Example of creating a file association Here is a specific example of how you would associate all files that have the extension .txt with the Notepad application that comes with Windows: 1. Double-click My Computer. 2. From the Tools menu, select Folder Options... . 3. Click the File Types tab, and then click New. 4. In the "File Extension" field, enter: .txt 5. Click OK, then click Advanced, and then click New... . 6. In the "Action" field, type: open 7. In the "Application used to perform action:" field, type: c:\windows\notepad.exe 8. Click OK, and then click Close. From now on, all files with the extension .txt will be opened by the Notepad application.

Windows 95, 98, and NT 4.0


For all versions of Windows 95, 98, and NT 4.0 that have Internet Explorer 4.0 Service Pack 2 and greater installed, follow these steps: Note: These instructions may not be correct for earlier versions of Internet Explorer. Some buttons may be labeled differently, or you may need to follow slightly different steps. 1. Double-click the My Computer icon. This will open a folder that shows all of the drives located on your system. 2. From the View menu, select Folder Options... or Options... . (In some versions of Windows 95, Folder Options will be located under the Tools menu .) 3. In the window that opens, click the File Types tab, and then click New Type... . 4. Fill in the first two lines. The "Description of type" should be the name you want to call this association. The "Associated extension" should be the file extension (the letters after the period in the filename) that you want to associate. 5. Click New. If the files with that extension already have an association, you will get an error that says something like: "The extension '.aim' is already in use by the file type 'aimfile'. Choose another extension." If this happens, see the section below on editing a file association. 6. In the New Action dialog box, in the "Action" field, type: open 7. In the next field, type the full path to the application that should be used to open the file. If you don't know the full path, you can use the Browse... button to find it. When you have finished with this, click OK. 8. You will be taken to the previous screen. If all the information is correct, click Close. You will see the newly created icon in the subwindow. Click Close again. Any file with the extension you just specified will open in the associated application when you double-click the file. Editing a file association To edit a file association, follow the first three steps above to get to the Folder Options or Options window, then follow these steps: 1. Search the list under "Registered file types" for the program that is currently registered to open files with the extension you'd like to edit. This can be the most difficult step because the actual listing for the file type under "Registered file

types:" may not match the error you received in step 5 above. You may have to highlight each item one by one and look at the extension listed under "File type details" to find the file type associated with the particular extension you wish to edit. 2. When you find the file type, highlight it and click the Remove button. 3. Return to step 5 above to continue creating a new file association. Example of creating a file association Here is a specific example of how you would associate all files that have the extension .txt with the Notepad application that comes with Windows: 1. Double-click My Computer. 2. From the View menu, select Options... . 3. Click the File Types tab, and then click New Type... . 4. 5. 6. 7. 8. In the "Description of type:" field, enter: Text In the "Associated extension:" field, enter: .txt Click New... . Then, in the "Action" field, type: open In the "Application used to perform action:" field, type: c:\windows\notepad.exe Click OK, and then click Close.

From now on, all files with the extension .txt will be opened by the Notepad application.

Also see:

In Windows, how can I prevent a program from starting automatically? In Windows, when I double-click an existing Word document, why does it open as a new document? In Windows XP, how do I stop Windows from using the Picture and Fax Viewer to open my pictures?

This is document adhc in domain all. Last modified on September 25, 2006. Please tell us, did you find the answer to your question?

UITS Services and Support About the Knowledge Base KB Comments Login Copyright 2005-2007, The Trustees of Indiana University Copyright Complaints

Skip to content

Home Menus Glossary Help

Text size: Search: Knowledge Base IU using Include archived documents Search results per page

In Windows 2000 or XP, how can I control how my windows and folders behave?
In Windows 2000 or XP, you can use the Folder Options control panel to customize how your folders and windows look and behave.

Accessing Folder Options

Follow the appropriate instructions below to access the Folder Options control panel: Windows XP default view 1. From the Start menu, select Control Panel, and then click Switch to Classic View. 2. Double-click Folder Options to open the control panel. Windows 2000 and Windows XP Classic View 1. From the Start menu, choose Settings, and then Control Panel. 2. Double-click Folder Options to open the control panel.

Options
The Folder Options control panel contains four tabs, General, View, File Types, and Offline Files, each with its own settings and options. When you're finished making changes, click OK or Apply to apply them. General

Under "Tasks", use the radio buttons to choose from the following options:
o o Show common tasks in folders Use Windows classic folders

Under "Browse folders", use the radio buttons to choose from the following options:
o o Open each folder in the same window Open each folder in its own window

Under "Click items as follows", use the radio buttons to choose from the following options:
o Single-click to open an item (point to select)

If you choose this option, select one of the following:


Underline icon titles consistent with my browser Underline icon titles only when I point at them Double-click to open an item (single-click to select)

View

Under "Folder views", you can apply your current folder's settings to all folders on your computer. To do so, click Apply to All Folders. Under "Advanced Settings", check the boxes corresponding to the settings you want to use, and uncheck those you want to disable.

File Types On the File Types tab, you can control what applications handle certain types of files on your computer. For more information and instructions, see In Windows, how do I associate an application with a file type? Offline Files On the Offline Files tab, you can configure your computer so that you may work with files and programs stored on the network even when you're not connected. Enabling this option creates copies of those files on your computer. To enable this option, check the box next to Enable Offline Files. Then choose from the following settings:
Synchronize all offline files when logging in Synchronize all offline files before logging off Display a reminder every: (Use the accompanying drop-down menu to set

how often to trigger a reminder.)


Create an Offline Files shortcut on the desktop Encrypt offline files to secure data Amount of disk space to use for temporary offline files:

(Use the

slider to set the amount of space you'd like to reserve.) Additionally, these options are available for offline files:

To delete files from the Offline Files Folder, click Delete Files... . To view files in the Offline Files Folder, click View Files. To set up how your computer behaves when the connection to another computer on the network is lost, click Advanced. Then, select either Notify me and begin working offline or Never allow my computer to go offline. Additionally, to set up how your computer behaves when a specific computer becomes unavailable, under "Exception list", click Add and then Browse to identify that computer. Click OK, and then OK again to save your changes.

Also see:

In Windows, how do I keep My Computer from opening a new window for each folder opened? In Windows 2000, how do I disable the Personalized Menu feature?

This is document ahqt in domain all. Last modified on December 04, 2007. Please tell us, did you find the answer to your question?

UITS Services and Support About the Knowledge Base KB Comments Login Copyright 2005-2007, The Trustees of Indiana University Copyright Complaints

You might also like