Filename extension
A filename extension, also known as file name extension or file extension, is a suffix to the name of a computer file (for example, .txt , .mp3 , .exe ) that indicates a characteristic of the file contents or its intended use.
≈ 3 min read
Filename extension. encyclopegia.org, snapshot enwiki-001375965067. /a/filename-extension
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
A filename extension, also known as file name extension or file extension, is a suffix to the name of a computer file (for example, .txt , .mp3 , .exe ) that indicates a characteristic of the file contents or its intended use. A filename extension is typically delimited from the rest of the filename with a full stop (period), but in some systems it is separated with spaces.
Some file systems, such as the FAT file system used in DOS, implement filename extensions as a feature of the file system itself and may limit the length and format of the extension, while others, such as Unix file systems, the VFAT file system, and NTFS, treat filename extensions as part of the filename without special distinction.
History
The basic concept of extensions to indicate the type of file was first introduced in MIT's CTSS in 1961. This system stored two separate names for each file, file name and class name, corresponding to today's name and extension.
Internally, they were stored in different fields in the file system, but to ease entry, the user specified the type using a dot, which was then removed when the file was stored. Running on the IBM 7090, each file entry had four 36-bit computer words to store the information, with the first two words containing up to 6 characters for the name and class, respectively.
IBM adopted CTSS concepts as the basis for their own time-sharing experiments at the Cambridge Scientific Center in the same MIT building where CTSS was being written. This developed into the Conversational Monitor System (originally Cambridge) for the System/360. The concept was also adopted early on by DEC's experiments in time-sharing on the PDP-6 and it's follow-on, the PDP-10.
The later became TOPS-10, one of DEC's main offerings into the 1980s, followed by RT-11. It was DEC's versions that inspired later microcomputer operating systems to adopt the same concept, first with CP/M and then DOS.
The Multics file system took this concept further by adopting the concept of making the extension part of the filename itself, as opposed to a separated dedicated type flag. This was part of a broader expansion of the file system which included variable-length names up to 255 characters long.
With names this long, there was no need to dedicate storage just to the type, and the "." was just another character in the name. Some components of Multics, and applications running on it, use suffixes to indicate file types, but not all files are required to have a suffix — for example, executables and ordinary text files usually have no suffixes in their names.
It was normally the user-facing utilities that examined the name for the last dotted portion to retrieve the type, if desired. Multics was the impetus for UNIX, which followed the same pattern.
External links
Database of filename extensions at FileInfo.com
Text derived from https://en.wikipedia.org/w/index.php?oldid=1375965067 under CC BY-SA 4.0; modifications have been made.