LFN

Stands for "Long Filename." LFN is an extension to the "short filename" standard used in DOS, which only allowed eight uppercase characters plus a three-character file extension. LFN filenames can be up to 255 characters long, including the file extension, which may be longer or shorter than three characters. They can include lowercase and uppercase characters, as well as spaces, numbers, and symbols.

Microsoft introduced long filename support with the VFAT file system in 1994. VFAT was first included with Windows NT 3.5 and later in Windows 95. To maintain backward compatibility with the previous FAT file system, Microsoft provided an automatic way to shorten long filenames using a tilde followed by a number. If the shortened filename conflicted with another filename, the number would be incremented by one. For example:

  • EXAMPLE.DOC → EXAMPLE.DOC
  • Example.doc → EXAMPLE.DOC
  • Sample File.doc → SAMPLE~1.DOC
  • Sample File copy.doc → SAMPLE~2.DOC
  • Verylongfilename.txt → VERYLO~1.TXT

NOTE: While Windows, macOS, and Unix have supported long filenames for over two decades, a filename may still be truncated if the file is copied or edited by a Windows system using the FAT file system.

Updated October 22, 2018 by Per C.

quizTest Your Knowledge

Apps that can be run without being installed are also called what?

A
Open-source applications
0%
B
Portable software
0%
C
Mobile apps
0%
D
Desktop programs
0%
Correct! Incorrect!     View the Portable Software definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of LFN on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.