Your American History Reference Guide!
- Type code

HistoryMania Information Site on Type code American History American History Search        American History Browse welcome to our free resource site for all enthusiasts!

Type code

A type code is a mechanism used in pre-Mac OS X versions of the Macintosh operating system to denote a file's format, in a manner similar to file extensions in other operating systems. Codes are four-byte OSTypes. For example, the type code for a HyperCard stack is STAK; the type code of any application program is APPL.

Mac OS X retains type codes, but supports extensions as well. The deprecation of type codes (and creator codes) over the older extension system, popularised by DOS and others, has been very controversial with Mac users. The type and creator system is considerably richer and more sophisticated than that provided by extensions, and many users felt that adopting DOS conventions is a backward step. They claim that type and creator information rightfully belongs to the metadata associated with a file, and is therefore illogically placed within the file's name, where its presence can cause problems for the user. Apple defend the decision by saying that extensions have become the de facto standard for indicating file type, and they need to work seamlessly with the rest of the industry.

Type codes are not readily accessible for users to manipulate, although they can be changed with certain software tools.

See also

Last updated: 08-08-2005 09:44:07
The contents of this article are licensed from Wikipedia.org under the
GNU Free Documentation License. How to see transparent copy
Search | Browse | Contact | Legal info