The file type extension of the file is yielded by this property. In the past, extensions conformed to a three character standard. With the cross mounting of foreign file systems which did not conform to the DOS 8.3 standard, file extensions can be of any length although they are usually less than five characters long.
It is normal to hide the file extensions from the users of desktop systems. In that case you may want to hold the filename and extension separately, so that you can hide the file extension to be consistent with what your users see on the desktop.
See also: | Folder.Type, Input.type |
Prev | Home | Next |
File.Size | Up | File object |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |