Understanding File Types and Extensions

by Barry Dysert
(last updated October 13, 2014)

3

Whenever you are working in Windows, you are ultimately working with one or more files of various types. All files have names, and each name is broken into pieces. For example, given a file name of "C:\Temp\MyFile.txt", the first piece ("C:") is the disk name. The next piece ("\Temp") is the folder or directory name, and the "MyFile.txt" piece is the actual file name. The file name itself is further broken into two pieces, with the "MyFile" being the base file name and the ".txt" being the file type or extension.

A file's type is very important. It tells Windows what kind of file it is and therefore what program should be used to open the file. For example, a file type of ".txt" tells Windows that this is a text file and should be opened (by default) with Notepad. A file type of ".xlsx" tells Windows that this is an Excel workbook and should be opened (by default) with Excel.

There are thousands of different file types and corresponding programs used to open them. You can even add more file types of your own and associate them with whatever programs should be used to open them. Moreover, you can always change which program is used to open which file type.

Before working with file types, you should configure your system so that file types are displayed. There is an option in Windows to hide known file types, but turning that option off allows you to see the types. You turn on the displaying of file types by following these steps if you are using Windows 7:

  1. Go to the Control Panel (click the Start menu and then click Control Panel).
  2. Click the Tools link.
  3. Click the Folder Options link. Windows displays the Folder Options dialog box.
  4. Make sure the View tab is displayed. (See Figure 1.)
  5. Figure 1. The View tab of the Folder Options dialog box.

If you are using Windows 8, follow these steps instead:

  1. Display the Control Panel.
  2. Click the Appearance and Personalization link.
  3. Click the Folder Options link. Windows displays the Folder Options dialog box.
  4. Make sure the View tab is displayed.

Regardless of the version of Windows you are using, by deselecting the Hide Extensions for Known File Types check box, you will be able to see the types of all your files in Windows Explorer. Once you've set up your system to display the file types, it's much easier to work with them.

 This tip (12065) applies to Windows 7 and 8.

Author Bio

Barry Dysert

Barry has been a computer professional for over 30 years, working in different positions such as technical team leader, project manager, and software developer.  He is currently a senior software engineer with an emphasis on developing custom applications under Microsoft Windows. ...

MORE FROM BARRY

Evaluating System Performance Using the Task Manager

One of the many functions of the Windows Task Manager is to allow you to see how your system is performing. If necessary, you ...

Discover More

Using Windows Easy Transfer

If you ever want to copy user accounts, documents, pictures, etc., from one computer to another, you'll find that Windows ...

Discover More

Using the Hosts File to Block Content

Although there are better methods, you can use the Hosts file to block access to specific websites. This tip tells you how.

Discover More
More WindowsTips

Defragmenting a Hard Drive

As files are added, removed, and edited on a hard drive, the files and the disk itself become fragmented. This causes ...

Discover More

Understanding ZIP Folders

Need to move a lot of information to someone else? The answer may be to store that information in a ZIP folder. Here's the ...

Discover More

Checking a Disk Drive for Free Space

Keeping track of your resources can help you avoid serious computer problems. Having an adequate amount of disk space is one ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five minus 0?

2014-10-13 09:56:27

William Oberdick

Infromation on how to get to folder Options in Windows 7 is incorrect. When you go to Control Panel, among the various links are Administrative Tools and Folder Options. If you go to Administrative Tools, there is no access to Folder Options. Folder options must be accessed directly from Control Panel.


2014-10-13 09:07:04

Barry

Good catch. One way to get to the same place in Win8 is to launch File Explorer, click View -> Options and to to the View tab.


2014-10-13 08:51:03

RTaylor

Information on how to get to correct area for version 8 is incorrect.


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.