Associating Documents with Programs
, for example) without making you read the Type column in Explorer.Extensions make it plainer to, say, choose among Photoshop, Paint, Internet Explorer, and Windows Picture and Fax Viewer to open .jpg (JPEG) files.
If a newly installed program hijacks an extension''s association without asking your permission (both rude and common), you can reassociate the extension with your preferred program.
If you don''t learn about extensions, you''ll remain mired in beginner status and pester people with trivial problems.
Viruses and Extensions
Viruses disguised as innocuous attachments often arrive via email. A virus file with the extension .exe is a program that runs when you double-click it, infecting you. (Some other extensions are dangerous too.) Virus writers will try to trick you into thinking a file is safe by naming it, say, iloveyou.txt.exe. If extensions are hidden, you see only iloveyou.txt, which appears to be a harmless text file.Even with extensions showing, the file FreeMP3s.txt .exewill appear to be harmless if the embedded spaces hide the .exe extension in a narrow column.To show extensions: In Windows Explorer, choose Tools > Folder Options > View tab > Advanced Settings list > uncheck Hide Extensions for Known File Types (Figures 6.30 and
6.31 ).
Figure 6.30. Uncheck this box to show filename extensions in Explorer, on the desktop, and in dialog boxes.

Figure 6.31. Explorer windows that hide (top) and show (bottom) extensions.

1. In Windows Explorer, choose Tools > Folder Options > File Types tab (Figure 6.32 ).
Figure 6.32. Each program must register its file type(s) with Windows to appear in this list.

Figure 6.33. At the top of the list are programs that Windows thinks appropriate for the selected file type, but you can choose or browse for a different program.


Figure 6.34. This dialog box appears when you double-click a file with an extension that Windows doesn''t recognize. A file with an unknown extension (or no extension) often is a text file; try opening it in Notepad before asking Windows to hunt for a program.

Figure 6.35. The Open With menu lists programs capable of opening the selected file. Click Choose Program to pick a program that''s not in the menu.

Figure 6.36. You can''t change the icon for an individual file, but you can change it for a file
type (JPEG files, here). If you don''t like any of the replacement icons that Windows offers, you can browse.