Alex Rivera | Logout

Maximum filename length in NTFS (Windows XP and Windows Vista)?

Asked 2008-11-05T16:39:04.277
292

I'm designing a database table which will hold filenames of uploaded files. What is the maximum length of a filename in NTFS as used by Windows XP or Vista?

Edit
Report

1 Answer

30

This is what the "Unhandled exception" says on framework 4.5 when trying to save a file with a long filename:

The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

screenshot

answered 2013-04-12T12:29:53.290

Your Answer