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

前端 未结 14 1603
再見小時候
再見小時候 2020-11-22 14:46

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?

相关标签:
14条回答
  • 2020-11-22 15:48

    This part of the official documentation says clearly that it’s 255 Unicode characters for NTFS, exFAT and FAT32, and 127 Unicode or 254 ASCII characters for UDF.

    Apart from that, the maximum path name length is always 32,760 Unicode characters, with each path component no more than 255 characters.

    0 讨论(0)
  • 2020-11-22 15:49

    255 characters.

    http://en.wikipedia.org/wiki/Filename

    0 讨论(0)
提交回复
热议问题