On this page…
The Problem
Unfortunately, many Windows machines are configured so that they hide the “dot 3” extension after a file name; in other words, the 3 (sometimes 4) letter extension that identfies the type of file does not appear. For instance, a Microsoft Word document might not have .docx
on the end of the filename, or a text file might not have .txt
after it, or an image might be missing the .jpeg
or .gif
.
This is easily fixed, and it is important that you fix it, especially if you are going to be making Web pages. Knowing that a file ends with .htm
can be extremely helpful, especially if you’ve got an accidental link to the file using .html
! In one case, a student had a file that appeared to be named settings.json
but wasn’t getting processed as a JSON file; once we turned on extensions, we discovered it was actually named settings.json.txt
— no wonder it wasn’t working correctly!
Further, seeing the extension can be a big help in preventing malware. The Anna Kournikova virus used an extension that ended with .shs
, a type of file that virtually no one should ever open. Without a visible extension, it would have been impossible to tell just by looking that the attachment was dangerous.
However, Microsoft keeps changing the means by which you can set your computer to reveal the extension, so make sure you use the correct method for your version of Windows.
Windows 95
- On your desktop, open My Computer.
- Select the View menu, & then select Options.
- On the View tab, uncheck the box next to Hide MS-DOS file extensions for file types that are registered.1
- Click OK to close Options.
- Close My Computer.
Windows 98
- On your desktop, open My Computer.
- Select the View menu, & then select Folder Options.
- On the View tab, uncheck the box next to Hide file extensions for known file types.
- Click OK to close Folder Options.
- Close My Computer.
Windows ME, Windows 2000, or Windows XP
- On your desktop, open My Computer. If you don’t see My Computer, then open any folder.
- Select the Tools menu, & then select Folder Options….
- In the Folder Options windows, click on the View tab.
- Uncheck the box next to Hide file extensions for known file types2.
- Click OK to close the Folder Options window.
- Close the My Computer window.
Windows Vista or 7
- Click on Start > Control Panel > Appearance and Personalization > Folder Options OR use the Search box on the Start menu & just search for
Folder Options
there. - In the Folder Options windows, click on the View tab.
- Uncheck the box next to Hide file extensions for known file types.
- Click OK to close the Folder Options window.
Windows 8 or 8.1
- From the Start Screen or the Desktop, press Win+W. This should open the Search charm so that it will search for Control Panel applets.
- Search for
Folder Options
. - In the Folder Options windows, click on the View tab.
- Uncheck the box next to Hide file extensions for known file types.
- Click OK to close the Folder Options window.
Windows 10
- Use Cortana to search for
File Explorer Options
. - In the File Explorer Options window, click on the View tab.
- Uncheck the box next to Hide file extensions for known file types.
- Click OK to close the File Explorer Options window.
-
Could that be any more poorly worded? I don’t think so. ↩
-
Note that I have checked and unchecked other boxes that may not apply to you. If you would like to make your View tab resemble mine below, go right ahead; however, it is not necessary if all that you wish to do is reveal the file extension. ↩