How Long Can This Filename Possibly Be.txt



What is the maximum length of a filename in Windows XP, Windows Vista, and Windows 7 running an NTFS file system?

A) 64 characters

B) 128 characters

C) 144 characters

D) 255 characters

E) It doesn’t matter how long it is, I’ll still misspell it.


The answer: D) 255 characters

The NTFS file system allows you to create filenames that are very long, and the total length of the entire path maxes out around 32,000 characters!

Want to know more? Watch “Directories and Files.”

File management of the Windows operating system is a mix of files, folders, attributes, and permissions. In this video, you’ll learn about Windows file systems, the structure of directories, and how files are named and managed.