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

前端 未结 14 1816
再見小時候
再見小時候 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:44

    I cannot create a file with the name+period+extnesion in WS 2012 Explorer longer than 224 characters. Don't shoot the messenger!

    In the CMD of the same server I cannot create a longer than 235 character name:

    The system cannot find the path specified.

    The file with a 224 character name created in the Explorer cannot be opened in Notepad++ - it just comes up with a new file instead.

提交回复
热议问题