Pages

Filenames and Filetypes


Filenames and filetypes are naming conventions used to identifyfiles on computers.

The filename is used to identify the file for you, so that when you come backand look for it, perhaps far in the future you will remember what it means toyou and that you can find it.

The filetype is used to identify and group files of similar type. As anexample, all text files are identified by the filetype 'txt.'

If you've worked on a PC with DOS, which was the predominant PC OperatingSystem (OS) before Windows, then you've used the 8.3 naming system.

The 8.3 file naming system used inDOS

The '8' refers to the maximum number of characters in the filename. Having onlyeight characters, often requires a lot of creativity in coming up with filenamethat accurately describes the file.

The '3' refers to the maximum number of characters in the filetype.
For example the file autoexec.bat has a filename of 'autoexec' and filetype of'bat.'

Windows 95 extended the maximumlength of Filenames

The maximum filename length was increased to 255 characters. All characters areallowed except for (\ / : * ? " < > | ).

This allows you to be very specific in naming your file. If you create a lot offiles this flexibility in naming becomes very important.

Most filetypes are still just three characters. However, Windows can operate onlonger filetypes.

Programs associated with filetypes

An additional feature in Windows associates each filetype with aspecific application or program.

For example the 'xls' filetype is associated with the Excel application. If youdouble click a file with a .xls filetype, Windows opens the Excel program withthe selected file loaded and ready for you to work with.

Sometimes you may want to open a file with a program other than the one Windowshas assigned it to. This can be done, but we'll save this discussion foranother tip.