in WinNT 4.0 whats the maximum lengh a file name can have?
I have a user that has a filename with a length of 129 characters including the extension.
I thought it was approx 25 characters with extension.
any ideas?
Diana
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Windows » Windows Vista, XP and earlier » Questions: Vista, XP back to 3.1 » whats the maximum length for a file name?
With NTFS, Microsoft is saying that the maximum path is 1024 characters. (KB Article 268722). There is a max_path variable that is set to 256 characters, and also files from a command prompt (cmd.exe) in NT 4.0 are limited to the 255 character limit.
I actually thought NTFS was technically ‘unlimited’. I believe NTFS 5.0 is either bigger or unlimited.
Don’t forget that if writing to a CD then CDFS restricts all directory and file names to 32 characters each – see TechNet Windows NT Support For Long File Names Under CDFS File System – 142372
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications